예제 #1
0
 def tearDownClass(cls):
     # print('tear down')
     file_location = os.path.dirname(os.path.abspath(__file__))
     project = Project(
         os.path.join(file_location, "random_testing_non_modal"))
     project.remove_jobs_silently()
     project.remove(enable=True)
예제 #2
0
 def tearDownClass(cls):
     project = Project(
         os.path.join(os.path.dirname(os.path.abspath(__file__)),
                      "random_testing"))
     job = project.load(project.get_job_ids()[0])
     job.remove()
     project.remove(enable=True)
예제 #3
0
 def tearDownClass(cls):
     cls.job.interactive_close()
     project = Project(
         os.path.join(os.path.dirname(os.path.abspath(__file__)),
                      "random_testing_atomistic"))
     job = project.load(project.get_job_ids()[0])
     job.remove()
     project.remove(enable=True)
예제 #4
0
파일: rm.py 프로젝트: pyiron/pyiron_base
def main(args):

    pr = Project(args.project)
    if args.jobs_only:
        pr.remove_jobs(recursive=args.recursive, silently=True)
    else:
        pr.remove(enable=True)
        if not os.listdir(args.project):
            os.rmdir(args.project)
예제 #5
0
 def tearDownClass(cls):
     cls.execution_path = os.path.dirname(os.path.abspath(__file__))
     project = Project(os.path.join(cls.execution_path, "lammps"))
     project.remove_jobs_silently(recursive=True)
     project.remove(enable=True)
예제 #6
0
 def tearDownClass(cls):
     file_location = os.path.dirname(os.path.abspath(__file__))
     project = Project(os.path.join(file_location, "testing_serial"))
     project.remove(enable=True)
예제 #7
0
 def tearDownClass(cls):
     cls.file_location = os.path.dirname(os.path.abspath(__file__))
     project = Project(os.path.join(cls.file_location, "test_murnaghan"))
     project.remove(enable=True, enforce=True)
 def tearDownClass(cls):
     file_location = os.path.dirname(os.path.abspath(__file__))
     project = Project(
         os.path.join(file_location, "testing_murnaghan_non_modal"))
     project.remove_jobs_silently(recursive=True)
     project.remove(enable=True, enforce=True)