BioSIMI-Python/modules/utilityFunctions.py
def createSbmlDoc(newLevel, newVersion):
    ''' 
    Creates a new SBMLDocument ojbect of the given newLevel and newVersion
    '''
    try:
        sbmlDoc = SBMLDocument(newLevel, newVersion)
    except ValueError:
        print('Could not create SBMLDocument object')
        sys.exit(1)
    return sbmlDoc
 
    Creates a new SBMLDocument ojbect of the given newLevel and newVersion
    
Creates a new SBMLDocument ojbect of the given newLevel and newVersion
Creates a new SBMLDocument ojbect of the given newLevel and newVersion
def createSbmlDoc(newLevel, newVersion):
    try:
        sbmlDoc = SBMLDocument(newLevel, newVersion)
    except ValueError:
        print('Could not create SBMLDocument object')
        sys.exit(1)
    return sbmlDoc
def createSbmlDoc ( newLevel , newVersion ) : try : sbmlDoc = SBMLDocument ( newLevel , newVersion ) except ValueError : print ( 'Could not create SBMLDocument object' ) sys . exit ( 1 ) return sbmlDoc
Creates a new SBMLDocument ojbect of the given newLevel and newVersion
Creates a new SBMLDocument ojbect of the given newLevel and newVersion
''' 
    Creates a new SBMLDocument ojbect of the given newLevel and newVersion
    '''
newLevel
newVersion