DataPipeline/Base.py
def loadPreset(self, preset=None):
        """Load preset config for specific type data"""
        if preset == 'J-810_cd_bywavelength':
            self.createConfig(preset+'.conf',format='databyrow',columns=10,rowstart=19,
                              delimeter='tab',xerror=0,yerror=0.2,
                              model1='Sigmoid')
        if preset == 'J-810_cd_bytemp':
            self.createConfig(preset+'.conf',format='databycolumn',columns=10,rowstart=19,rowend=421,
                              delimeter='tab',xerror=0,yerror=0.2,
                              datainrows=0,modelsfile='test.dict')
        elif preset == 'nmr_titration_sparky':
            self.createConfig(preset+'.conf',columns=10,rowstart=0,
                              delimeter='tab',xerror=0.1,yerror=0.02,
                              model1='1 pKa 2 Chemical shifts')

        print 'preset conf file written, you can also rename and edit this'
        return
Load preset config for specific type data
Load preset config for specific type data
Load preset config for specific type data
def loadPreset(self, preset=None):
        if preset == 'J-810_cd_bywavelength':
            self.createConfig(preset+'.conf',format='databyrow',columns=10,rowstart=19,
                              delimeter='tab',xerror=0,yerror=0.2,
                              model1='Sigmoid')
        if preset == 'J-810_cd_bytemp':
            self.createConfig(preset+'.conf',format='databycolumn',columns=10,rowstart=19,rowend=421,
                              delimeter='tab',xerror=0,yerror=0.2,
                              datainrows=0,modelsfile='test.dict')
        elif preset == 'nmr_titration_sparky':
            self.createConfig(preset+'.conf',columns=10,rowstart=0,
                              delimeter='tab',xerror=0.1,yerror=0.02,
                              model1='1 pKa 2 Chemical shifts')
        print 'preset conf file written, you can also rename and edit this'
        return
def loadPreset ( self , preset = None ) : if preset == 'J-810_cd_bywavelength' : self . createConfig ( preset + '.conf' , format = 'databyrow' , columns = 10 , rowstart = 19 , delimeter = 'tab' , xerror = 0 , yerror = 0.2 , model1 = 'Sigmoid' ) if preset == 'J-810_cd_bytemp' : self . createConfig ( preset + '.conf' , format = 'databycolumn' , columns = 10 , rowstart = 19 , rowend = 421 , delimeter = 'tab' , xerror = 0 , yerror = 0.2 , datainrows = 0 , modelsfile = 'test.dict' ) elif preset == 'nmr_titration_sparky' : self . createConfig ( preset + '.conf' , columns = 10 , rowstart = 0 , delimeter = 'tab' , xerror = 0.1 , yerror = 0.02 , model1 = '1 pKa 2 Chemical shifts' ) print 'preset conf file written, you can also rename and edit this' return
Load preset config for specific type data
Load preset config for specific type data
"""Load preset config for specific type data"""
self
preset