Skip to content

Commit

Permalink
Fix file extensions output from create model factory
Browse files Browse the repository at this point in the history
  • Loading branch information
djcomlab committed Feb 28, 2018
1 parent 034b83e commit 4437a8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions isatools/create/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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))
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 4437a8f

Please sign in to comment.