Closed wolfgangcolsman closed 1 year ago
In tdf2mzml.py, update_spectra_count was invoked inside with mzml_data_struct['writer']:. It needs to be invoked after MzMLWriter is flushed/closed.
update_spectra_count
with mzml_data_struct['writer']:
I optimized the code to only invoke update_spectra_count when spectra_count has changed.
I think this looks good, sorry for the delay, will test it out!
In tdf2mzml.py,
update_spectra_count
was invoked insidewith mzml_data_struct['writer']:
. It needs to be invoked after MzMLWriter is flushed/closed.I optimized the code to only invoke update_spectra_count when spectra_count has changed.