def loadExperiment(path):
 if (not os.path.isdir(path)):
  path = os.path.dirname(path)
 descriptionPyModule = loadExperimentDescriptionScriptFromDir(path)
 expIface = getExperimentDescriptionInterfaceFromModule(descriptionPyModule)
 return (expIface.getModelDescription(), expIface.getModelControl())

def loadExperiment ( path ) : if ( not os . path . isdir ( path ) ) : path = os . path . dirname ( path ) descriptionPyModule = loadExperimentDescriptionScriptFromDir ( path ) expIface = getExperimentDescriptionInterfaceFromModule ( descriptionPyModule ) return ( expIface . getModelDescription ( ) , expIface . getModelControl ( ) )
loads the experiment description file from the path .