Hi, Apart from this 'patch2' containing the ser file and 'patch1', this code will not work as the line variable will be the list: line = ['REMARK', 'SeriesTab', 'Input:', '../peaks.dat', 'Output:', '../peaks_0.ser'] Instead you could could check line[0] for the first element and line[1] for the second. Regards, Edward On 21 June 2013 14:56, Troels E. Linnet <NO-REPLY.INVALID-ADDRESS@xxxxxxx> wrote:
Follow-up Comment #3, sr #3043 (project relax): Added autodetect_format settings. If file starts with: REMARK SeriesTab it is a SeriesTab file (file #18136) _______________________________________________________ Additional Item Attachment: File name: patch2 Size:2 KB _______________________________________________________ Reply to this item at: <http://gna.org/support/?3043> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-devel mailing list relax-devel@xxxxxxx To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-devel