Well spotted! I have fixed the issue for the mzTab export. But why not fix this in all the identification modules instead?
/Thomas -----Original Message----- From: Tomas Pluskal [mailto:plus...@oist.jp] Sent: 6. februar 2015 08:40 To: Developer discussion Subject: [Mzmine-devel] mzTab export - stripping special characters Hi Thomas, I added a new method escapeStringForCSV to CSVExportTask. The purpose of this method is to strip control characters from the exported strings (particularly things like EOL \n). It basically calls inputString.replaceAll("[\\p{Cntrl}]", " “); It is possible that some peak identity data might contain such special characters. I recommend to also check your mzTab export module how it behaves in such case. Perhaps you might also need to remove any special characters before exporting the strings. I mean, for example, what happens if the peak identity contains the \t (tab) character? Maybe the jmztab library can handle this, but we should make sure it works. Cheers, Tomas =============================================== Tomas Pluskal G0 Cell Unit, Okinawa Institute of Science and Technology Graduate University 1919-1 Tancha, Onna-son, Okinawa 904-0495, Japan WWW: https://groups.oist.jp/g0 TEL: +81-98-966-8684 Fax: +81-98-966-2890 ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Mzmine-devel mailing list Mzmine-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mzmine-devel ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Mzmine-devel mailing list Mzmine-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mzmine-devel