Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiardie committed Sep 19, 2024
1 parent 785cacc commit c63e0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mflike/foreground.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ def _init_beam_from_file(self):

if not self.beam_file:
# option to read beam from sacc
if not bool(self.beams):
if not self.beams:
raise ValueError("Beams not stored in sacc files!")
else:
self.beams = yaml_load_file(file_name = self.beam_file)
Expand Down

0 comments on commit c63e0d9

Please sign in to comment.