Skip to content

Commit

Permalink
Merge pull request #1003 from biorack/untargeted_dev
Browse files Browse the repository at this point in the history
Untargeted dev
  • Loading branch information
bkieft-usa authored Dec 10, 2024
2 parents 1524159 + 5809597 commit 44a668d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions metatlas/untargeted/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -2217,9 +2217,8 @@ def update_new_untargeted_tasks(
with open(params_filename,'w') as fid:
fid.write('%s'%custom_params)
else:
logging.info(tab_print("%s MZmine parameter file (CUSTOM *_batch-params.xml)"%(polarity), 3))
custom_params_list = custom_mzmine_batch_params.split(',')
for custom_param in custom_params_list:
logging.info(tab_print("%s MZmine parameter file (see custom input above)"%(polarity), 3))
for custom_param in custom_mzmine_batch_params:
if polarity_short.upper()+"-" in custom_param:
mzmine_running_parameters = custom_param
break
Expand Down

0 comments on commit 44a668d

Please sign in to comment.