Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs with WSIMOD CLI and DAFNI instructions #49

Merged
merged 6 commits into from
Dec 20, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Replace file with data when deciding on the input file type
  • Loading branch information
dalonsoa committed Dec 13, 2023
commit 8316ee56915cf67358f76a7c3bb6d9888c41c10f
2 changes: 1 addition & 1 deletion wsimod/validation.py
Original file line number Diff line number Diff line change
@@ -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"
Loading