Skip to content

Commit

Permalink
udate
Browse files Browse the repository at this point in the history
  • Loading branch information
segasai committed Dec 27, 2023
1 parent 678d75c commit ad63634
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions py/minimint/mist_interpolator.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,12 @@ def writer(url, pref):
f'cd {pref} && '
f'7z x {fname_out} -so > {fname_out1} && '
# f'tar -xvf {fname_out1}'
f'7z x {fname_out1}')
f'7z -bb3 x {fname_out1}')
else:
cmd = f'cd {pref}; tar xfJ {fname_out}'
ret = subprocess.run(cmd, capture_output=True, shell=True, timeout=60)
print(fname_out, fname_out1, ret.stdout.decode() + ret.stderr.decode())
print(cmd, fname_out, fname_out1,
ret.stdout.decode() + ret.stderr.decode())
# ret = subprocess.run(cmd, shell=True, timeout=60)
if ret.returncode != 0:
raise RuntimeError('Failed to untar the files' +
Expand Down

0 comments on commit ad63634

Please sign in to comment.