OpenMS / de.openms.knime

Nodes etc. related to OpenMS
http://www.openms.de
2 stars 8 forks source link

IDTextReader has problems reading "null" as values. #16

Open jpfeuffer opened 8 years ago

jpfeuffer commented 8 years ago

From the Mailing List:

I am trying to export ID data via TextExporter and IDTextReader to put them into Python powered node in KNIME. I have OpenMS 2.0.1 installed and this works only if I set TextExporter not to export additional metavalues ("add_metavalues" and "add_hit_metavalues" set to -1) and "peptides_only" set to False. If I change it to export also additional metavalues (100 instead of -1) TextExporter correctly exports more related metadata but IDTextExporter fails with "ERROR IDTextReader 0:97 Execute failed: ("NullPointerException"): null" this error message.

jpfeuffer commented 8 years ago

I think I had the same problem with the MZTabReader already, I can fix it. But we could think about deprecating IDTextReader since it is mostly replaced by MzTabExporter and Reader.