Compare commits
No commits in common. "ba684e4c6de73c476e9651ad8c2d9e03ed936d56" and "160a37b8cba530213bb16d5a2ac2f02078b6b539" have entirely different histories.
ba684e4c6d
...
160a37b8cb
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +0,0 @@
|
|||
./out/*
|
|
@ -1,7 +1,7 @@
|
|||
#! /minish/keh00032/.conda/envs/keh00032/bin/python
|
||||
|
||||
import logging
|
||||
from os import path, chdir, getcwd, makedirs
|
||||
from os import path
|
||||
from argparse import ArgumentDefaultsHelpFormatter, ArgumentParser
|
||||
from typing import Union
|
||||
|
||||
|
@ -142,12 +142,6 @@ if __name__ == "__main__":
|
|||
parser.set_defaults(file=None)
|
||||
values = parser.parse_args()
|
||||
|
||||
#set working directory to ignored directory
|
||||
outdir = path.join(getcwd(),"out","")
|
||||
if not os.path.isdir(outdir):
|
||||
os.makedirs(outdir)
|
||||
chdir(outdir)
|
||||
|
||||
if values.file is not None: #single file takes priority
|
||||
logging.info(f"Running with file {values.file}")
|
||||
addBurst(values)
|
||||
|
|
Loading…
Reference in a new issue