Skip to content

Commit

Permalink
fix-bug: mbapy\scripts\mass.py: plot_mass: main_process: type-error: …
Browse files Browse the repository at this point in the history
…self.args.tag_monoisotopic_only instead of self.tag_monoisotopic_only
  • Loading branch information
BHM-Bob committed Aug 30, 2024
1 parent 08f2420 commit 8e318ee
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mbapy/scripts/mass.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,12 @@ def main_process(self):
data.X_HEADER = data.X_MZ_HEADER
# save processed data
if self.task_pool is not None:
self.task_pool.add_task(n, plot_single_mass_data, data, self.args.xlim, self.args.labels, self.args.labels_eps, self.args.show_fig, self.args.legend_bbox, self.tag_monoisotopic_only)
self.task_pool.add_task(n, plot_single_mass_data, data, self.args.xlim,
self.args.labels, self.args.labels_eps, self.args.show_fig,
self.args.legend_bbox, self.args.tag_monoisotopic_only)
else:
plot_single_mass_data(data, self.args.xlim, self.args.labels, self.args.labels_eps, self.args.show_fig, self.args.legend_bbox, self.tag_monoisotopic_only)
plot_single_mass_data(data, self.args.xlim, self.args.labels, self.args.labels_eps,
self.args.show_fig, self.args.legend_bbox, self.args.tag_monoisotopic_only)
if self.task_pool is not None:
self.task_pool.wait_till_tasks_done(self.dfs.keys())
self.task_pool.close()
Expand Down

0 comments on commit 8e318ee

Please sign in to comment.