Skip to content

Commit

Permalink
Changed colon to semi-colon
Browse files Browse the repository at this point in the history
  • Loading branch information
AryazE committed Mar 5, 2024
1 parent dbaa623 commit 38cb1e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/dynapyt/run_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def run_analysis(
else:
rmtree(output_dir)
output_dir.mkdir()
analyses = [f"{a}:{str(output_dir)}" for a in analyses]
analyses = [f"{a};{str(output_dir)}" for a in analyses]
with open(str(analyses_file), "w") as f:
f.write("\n".join(analyses))

Expand Down
4 changes: 2 additions & 2 deletions src/dynapyt/utils/runtimeUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ def load_analyses(analyses: List[Any]) -> List[BaseAnalysis]:
for ana in analyses:
if isinstance(ana, str):
conf = None
if ":" in ana:
parts = ana.split(":")
if ";" in ana:
parts = ana.split(";")
ana = parts[0]
conf = tuple(parts[1:])
module_parts = ana.split(".")
Expand Down

0 comments on commit 38cb1e5

Please sign in to comment.