Skip to content

Commit

Permalink
Update api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
spacetimeengineer committed Oct 23, 2024
1 parent 5cbce1f commit a036fb6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions echopype/convert/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,12 +465,18 @@ def open_raw(
if not isinstance(raw_file, str):
raise TypeError("File path must be a string or Path")

<<<<<<< Updated upstream




#if sonar_model is None:
# raise ValueError("Sonar model must be specified.")
=======
if sonar_model is None:
#TODO : This is where we would implement logic to parse some object describing the sonar model.
raise ValueError("Sonar model must be specified.")
>>>>>>> Stashed changes

# Check inputs
if convert_params is None:
Expand Down

0 comments on commit a036fb6

Please sign in to comment.