Fixed a bug where some commands wouldn't work if the input DMS was not

in the current directory
This commit is contained in:
Celine Mercier
2019-07-25 11:59:19 +02:00
parent 9f38cd8cf6
commit 13952358b3
5 changed files with 6 additions and 6 deletions

View File

@ -107,7 +107,7 @@ def run(config):
command_line = " ".join(sys.argv[1:])
comments = View.print_config(config, "clean", command_line, input_dms_name=[i_dms_name], input_view_name=[i_view_name])
if obi_clean(tobytes(i_dms_name), tobytes(i_view_name), tobytes(config['clean']['sample-tag-name']), tobytes(o_view_name), comments, \
if obi_clean(i_dms.full_path, tobytes(i_view_name), tobytes(config['clean']['sample-tag-name']), tobytes(o_view_name), comments, \
config['clean']['distance'], config['clean']['ratio'], config['clean']['heads-only'], config['clean']['thread-count']) < 0:
raise Exception("Error running obiclean")