Skip to content

Commit

Permalink
Merge pull request #265 from sameeul/v013
Browse files Browse the repository at this point in the history
V013
  • Loading branch information
sameeul authored Aug 20, 2024
2 parents 8d05f33 + d883437 commit b77ecc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sophios/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def compile_workflow_once(yaml_tree_ast: YamlTree,
# Use auto-discovery mechanism (with run tag)
tool_i = tools[stepid_runtag]
else:
msg = f'Error! Neither {stepid.stem} nor {stepid_runtag.stem} found!'
msg = f"Error! Neither {stepid.stem} nor {stepid_runtag.stem} found!, check your 'search_paths_cwl' in global_config.json"
raise Exception(msg)
# Programmatically modify tool_i here
graph_dummy = graph # Just use anything here to satisfy mypy
Expand Down
2 changes: 1 addition & 1 deletion src/sophios/input_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def write_config_to_disk(config: Json, config_file: Path) -> None:
# make the full path if it doesn't exist
config_dir.mkdir(parents=True, exist_ok=True)
with open(config_file, 'w', encoding='utf-8') as f:
json.dump(config, f)
json.dump(config, f, indent=4, sort_keys=True)


def get_config(config_file: Path, default_config_file: Path) -> Json:
Expand Down

0 comments on commit b77ecc4

Please sign in to comment.