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

Reply via email to