DataPipeline/Testing.py
def groupbyFieldsTest():
    """Tests grouping by fields function using NMRdata"""

    conf = {'format':'databycolumn','colheaderlabels':'15N,1H',
            'parsenamesindex':0,'parsemethod':'numeric',
            'delimeter':' ', 'groupbyfields':1,'extension':'.inp'}
    path = 'testfiles/NMRdata'
    p = Pipeline()
    p.createConfig('temp.conf',**conf)
    p.addFolder(path)
    p.run()
    return
Tests grouping by fields function using NMRdata
Tests grouping by fields function using NMRdata
Tests grouping by fields function using NMRdata
def groupbyFieldsTest():
    conf = {'format':'databycolumn','colheaderlabels':'15N,1H',
            'parsenamesindex':0,'parsemethod':'numeric',
            'delimeter':' ', 'groupbyfields':1,'extension':'.inp'}
    path = 'testfiles/NMRdata'
    p = Pipeline()
    p.createConfig('temp.conf',**conf)
    p.addFolder(path)
    p.run()
    return
def groupbyFieldsTest ( ) : conf = { 'format' : 'databycolumn' , 'colheaderlabels' : '15N,1H' , 'parsenamesindex' : 0 , 'parsemethod' : 'numeric' , 'delimeter' : ' ' , 'groupbyfields' : 1 , 'extension' : '.inp' } path = 'testfiles/NMRdata' p = Pipeline ( ) p . createConfig ( 'temp.conf' , ** conf ) p . addFolder ( path ) p . run ( ) return
Tests grouping by fields function using NMRdata
Tests grouping by fields function using NMRdata
"""Tests grouping by fields function using NMRdata"""