...
 
Commits (2)
......@@ -55,7 +55,6 @@ def process(source, args):
os.chdir(data_dir)
matlab_call = create_matlab_call(script, source, args)
subprocess.run(matlab_call, shell=True, check=True, stderr=sys.stderr, stdout=sys.stdout)
clean(metadata.tmp_path)
def clean(root):
......@@ -78,4 +77,4 @@ def clean(root):
# Remove locks
for filename in os.listdir(root):
if filename[-4:] == "lock" and path.split("/")[-1] in filename:
os.remove(os.path.join(root, filename))
\ No newline at end of file
os.remove(os.path.join(root, filename))
......@@ -27,7 +27,7 @@ def download_all(args):
dates.append(date)
min_date = min(files_per_date.keys())
max_date = datetime.today()
max_date = datetime.today() - timedelta(days=1)
cur_date = min_date
while (cur_date <= max_date):
if (cur_date not in dates):
......