Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
Signed-off-by: Atreyee Sinha <asinha@ucm.es>
  • Loading branch information
AtreyeeS committed Jan 19, 2024
1 parent e1f422a commit 8b75dc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gammapy/makers/safe.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ def __init__(
)

if irfs not in ["DL3", "DL4"]:
ValueError("Invalid option for irfs: expected 'DL3' or 'DL4', got {irfs} instead.")
ValueError(

Check warning on line 91 in gammapy/makers/safe.py

View check run for this annotation

Codecov / codecov/patch

gammapy/makers/safe.py#L90-L91

Added lines #L90 - L91 were not covered by tests
"Invalid option for irfs: expected 'DL3' or 'DL4', got {irfs} instead."
)
self.irfs = irfs

Check warning on line 94 in gammapy/makers/safe.py

View check run for this annotation

Codecov / codecov/patch

gammapy/makers/safe.py#L94

Added line #L94 was not covered by tests

def make_mask_offset_max(self, dataset, observation):
Expand Down

0 comments on commit 8b75dc5

Please sign in to comment.