Skip to content

Commit

Permalink
watch: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamilcuk committed Nov 11, 2024
1 parent 2a26565 commit d33e800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nomad_tools/entry_watch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1082,9 +1082,9 @@ def nomad_start_job(opts: List[str]) -> nomadlib.Eval:
"""Start a nomad job using nomad job run parameters. Return evluation from running the job"""
assert opts
evalid: Optional[str] = None
file: str = opts[-1]
if ARGS.json or (len(opts) == 2 and opts[0] == "-json"):
# If the input file is a json and we have no arguments, we can use the API ourselves.
file: str = opts[-1]
if ARGS.jobarg:
data = file
else:
Expand Down

0 comments on commit d33e800

Please sign in to comment.