Commit 9b1721f6 authored by Fernando Perez-Garcia's avatar Fernando Perez-Garcia

Save job files in a new dir

parent 7c3c0b2a
......@@ -3,8 +3,8 @@ from subprocess import call
class Job:
def __init__(self, job_dir, config_path):
self.dir = Path(job_dir).expanduser()
def __init__(self, model_dir, config_path):
self.dir = Path(model_dir).expanduser() / 'job'
self.dir.mkdir(exist_ok=True, parents=True) =
self.job_path = self.dir / f'{}'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment