"-f", scale]
compute_command.extend(fasta_files)
print(" ".join([str(x) for x in compute_command]))
exit_code = utils.run_command(compute_command, self.log_file_path)
if int(exit_code):
After Change
// backup the old working directory before changing the directory
old_wd = os.getcwd()
os.chdir(input_path)
if not os.path.exists("output"):
os.mkdir("output")
else:
pass
self.progress.new("Sourmash")
self.progress.update("Computing fasta signatures for kmer=%d, scale=%d" % (self.kmer_size, self.scale))
scale = "--scaled=%i" % self.scale