From 4437a8f42889d92c40e45a9738460f3391e42683 Mon Sep 17 00:00:00 2001 From: djcomlab Date: Wed, 28 Feb 2018 01:47:32 +0000 Subject: [PATCH] Fix file extensions output from create model factory --- isatools/create/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/isatools/create/models.py b/isatools/create/models.py index bc099562..67a64f87 100644 --- a/isatools/create/models.py +++ b/isatools/create/models.py @@ -1534,7 +1534,7 @@ def create_nmr_assays_from_plan(self, study, samples, sample_type, assay_type): plink(eproc, aproc) assaycode = 'A002' # TODO: Find out what NMR assay codes they use, if any dfile = RawSpectralDataFile( - filename='{assaycode}_{pulse_seq}_{acq_mode}_{biorepl}_{techrepl}.mzml.gz'.format( + filename='{assaycode}_{pulse_seq}_{acq_mode}_{biorepl}_{techrepl}.nmrml'.format( assaycode=assaycode, biorepl=biorepl, pulse_seq=pulse_seq, acq_mode=acq_mode, techrepl=techrepl)) @@ -1667,7 +1667,7 @@ def create_ms_assays_from_plan(self, study, samples, sample_type, assay_type): # London encoding # ... dfile = RawSpectralDataFile( - filename='{assaycode}_{inj_mode}_{acq_mode}_{biorepl}_{techrepl}.mzml.gz'.format( + filename='{assaycode}_{inj_mode}_{acq_mode}_{biorepl}_{techrepl}.mzml'.format( assaycode=assaycode, biorepl=biorepl, inj_mode=injection_mode.injection_mode , acq_mode=acquisition_mode.acquisition_method, techrepl=techrepl)) @@ -1780,7 +1780,7 @@ def create_ms_assays_from_plan(self, study, samples, sample_type, assay_type): # London encoding # ... dfile = RawSpectralDataFile( - filename='{assaycode}_{inj_mode}_{acq_mode}_{biorepl}_{techrepl}.mzml.gz'.format( + filename='{assaycode}_{inj_mode}_{acq_mode}_{biorepl}_{techrepl}.mzml'.format( assaycode=assaycode, biorepl=biorepl, inj_mode=injection_mode.injection_mode,