Skip to content

Commit

Permalink
import subprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
kadrlica committed Sep 10, 2024
1 parent e51f437 commit 5be1740
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ugali/pipeline/run_03.0_likelihood.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def run(self):
print("Writing %s..."%outfile)
plt.savefig(outfile)
# Make the movie
import subprocess
cmd = "convert -delay 30 -loop 0 %s/*.png %s.gif"%(outdir,basename)
print(cmd)
subprocess.check_call(cmd,shell=True)
Expand Down

0 comments on commit 5be1740

Please sign in to comment.