Skip to content

Commit

Permalink
update snakemake rule to work with running from onedrive folder
Browse files Browse the repository at this point in the history
  • Loading branch information
YeChen-IDM committed Oct 16, 2024
1 parent b53513f commit aaaa619
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions simulations/snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ def get_command(script="run_sims.py", python_version: str=None, site: str=None,
extra_arguments += ' --subset ' + subset

if python_version:
command = python_version + " " + script + extra_arguments
command = python_version + ' "' + script + '"' + extra_arguments
elif platform == "linux":
command = "python3 " + script + extra_arguments
command = 'python3 "' + script + '"' + extra_arguments
elif platform == "win32":
command = "python " + script + extra_arguments
command = 'python "' + script + '"' + extra_arguments
else:
print("Unknown OS")
raise Exception
Expand Down

0 comments on commit aaaa619

Please sign in to comment.