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