Closed laeubi closed 5 years ago
JCAMPDX Files (e.g. from Bruker BioSpin GmbH) can contain just parameters with
##DATATYPE= Parameter Values
Currently this leads to an exception, with this change you can read these files like this:
JCAMPBlock parameters = new JCAMPBlock([file input as string]); for(JCAMPDataRecord jcampDataRecord : parameters.getAllDataRecords()) { System.out.println(jcampDataRecord.getKey() + ": " + jcampDataRecord.getContent()); }
JCAMPDX Files (e.g. from Bruker BioSpin GmbH) can contain just parameters with
##DATATYPE= Parameter Values
Currently this leads to an exception, with this change you can read these files like this: