Skip to content

Commit

Permalink
fix: version tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
tharwood3 committed Mar 26, 2024
1 parent 22faa84 commit 415eb58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metatlas/io/mzml_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# home directory, you get a warning.
from pymzml.run import Reader

# from metatlas import __version__
from metatlas import __version__

DEBUG = False
FORMAT_VERSION = 5
Expand Down Expand Up @@ -295,7 +295,7 @@ def _convert(mzml_reader, out_file=None, filter_easyic_signal=True, debug=None):
table.copy(sortby='mz', newname=name + '_mz')
table.cols.mz.remove_index()# info_table.append([info])
out_file.set_node_attr('/', 'format_version', FORMAT_VERSION)
out_file.set_node_attr('/', 'metatlas_version', "test")
out_file.set_node_attr('/', 'metatlas_version', __version__)

if debug:
sys.stdout.write('\nSaving file\n')
Expand Down

0 comments on commit 415eb58

Please sign in to comment.