mhoopmann / mstoolkit

Automatically exported from code.google.com/p/mstoolkit
27 stars 10 forks source link

Added boolean return value for MzMLWriter::writeSpectra() #19

Closed wfondrie closed 4 years ago

wfondrie commented 4 years ago

Hi Mike,

Our Crux build is failing on Windows because the return type of MzMLWriter::writeSpectra() is declared to be a boolean, but currently doesn't return anything.

This proposed change checks the result of each writeSpectra() call and returns false on the first one that fails or returns true if none fail.