Commit ea5f8466 authored by Renzo Marini's avatar Renzo Marini

clean no se llama siempre porque interfiere con la funcion de recover

parent c3cc7a37
......@@ -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))
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