Skip to content

Commit

Permalink
Replace file with data when deciding on the input file type
Browse files Browse the repository at this point in the history
  • Loading branch information
dalonsoa committed Dec 13, 2023
1 parent 07d1cfb commit 8316ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsimod/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def evaluate_input_file(settings: Path) -> Literal["saved", "custom"]:
with settings.open("rb") as f:
settings_ = yaml.safe_load(f)

if set(["file", "inputs", "outputs"]).isdisjoint(settings_.keys()):
if set(["data", "inputs", "outputs"]).isdisjoint(settings_.keys()):
return "saved"

return "custom"
Expand Down

0 comments on commit 8316ee5

Please sign in to comment.