Skip to content

Commit

Permalink
removed inc-freq-hz check in Observation init 💤
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas113 committed Aug 23, 2024
1 parent 65f2e1c commit a17e4ab
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions karabo/simulation/observation.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,6 @@ def __init__(
Defaults to 1.
"""

if number_of_channels < 1:
err_msg = f"{number_of_channels=} but must be < 1"
raise ValueError(err_msg)
if number_of_channels == 1 and frequency_increment_hz != 0:
err_msg = (
f"{frequency_increment_hz=} but must be 0 if only one "
+ "channel is specified"
)
raise ValueError(err_msg)

self.start_frequency_hz = start_frequency_hz

if isinstance(start_date_and_time, str):
Expand Down

0 comments on commit a17e4ab

Please sign in to comment.