glasgowcompbio / vimms

A programmable and modular LC/MS simulator in Python
MIT License
19 stars 6 forks source link

Iss 174 #176

Closed joewandy closed 4 years ago

joewandy commented 4 years ago

Fixes for https://github.com/sdrogers/vimms/issues/174. Also in general, this fix allows all controllers to dump their scans, their associated scan parameters, and any metadata we provide for that scan. Useful when we need to know which scan params produce which scans.

Changes:

fname = 'output.csv' controller.dump_scans(csv_to_file)



Example output from targeted controller: [simulated_targeted_std1_Positive_scans.zip](https://github.com/sdrogers/vimms/files/5277029/simulated_targeted_std1_Positive_scans.zip)
sdrogers commented 4 years ago

Looks perfect, thanks!