Skip to content

Commit

Permalink
Allow for files with spaces in paths
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjcroucher committed Mar 13, 2024
1 parent 1043722 commit 7d7fcc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/gubbins/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def parse_and_run(input_args, program_description=""):
printer.print("...done. Run time: {:.2f} s".format(time.time() - start_time))

# Find all SNP sites with Gubbins
gubbins_command = " ".join([gubbins_exec, input_args.alignment_filename])
gubbins_command = f"{gubbins_exec} \"{input_args.alignment_filename}\""
printer.print(["\nRunning Gubbins to detect SNPs...", gubbins_command])
try:
subprocess.check_call(gubbins_command, shell=True)
Expand Down

0 comments on commit 7d7fcc1

Please sign in to comment.