Exemple #1
0
 def rollbackSession(self):
     self.session.rollback()
     self.session.close()
     if self.experiment_id is not None:
         dir_tools.removeDirectory(self.getOutputDirectory())
def removeDatasetOutputDirectory(project, dataset):
    dataset_dir = getDatasetOutputDirectory(project, dataset)
    dir_tools.removeDirectory(dataset_dir)
Exemple #3
0
 def remove(self):
     experiment_db_tools.removeExperiment(self.session, self.experiment_id)
     dir_tools.removeDirectory(self.getOutputDirectory())
def removeProjectOutputDirectory(project):
    project_dir = getProjectOutputDirectory(project)
    dir_tools.removeDirectory(project_dir)