import subprocess
import numpy as np
import os

nameloc = ""
oloc = 'test-location-paracrinic.gif'

for i in np.arange(1200):
    if (i + 1)%8 == 0:
        nameloc += 'run'+str(i+1)+'.png '

os.system("convert -delay 5 -loop 5 " + nameloc +" " + oloc)

nameall = ""
oall = 'test-all-paracrinic.gif'
for i in np.arange(1200):
    if (i+1)%5 == 0:
        nameall += 'run'+str(i+1)+'.png '

os.system("convert -delay 5 -loop 5 " + nameall +" " + oall)

os.system('rm -rf *.png')
os.system('rm -rf *.h5')
os.system('rm -rf *.yml')
2c2379fb5233976b844a1583b9431d9b4e22d0f8
<mask token>

<mask token>
for i in np.arange(1200):
    if (i + 1) % 8 == 0:
        nameloc += 'run' + str(i + 1) + '.png '
os.system('convert -delay 5 -loop 5 ' + nameloc + ' ' + oloc)
<mask token>
for i in np.arange(1200):
    if (i + 1) % 5 == 0:
        nameall += 'run' + str(i + 1) + '.png '
os.system('convert -delay 5 -loop 5 ' + nameall + ' ' + oall)
os.system('rm -rf *.png')
os.system('rm -rf *.h5')
os.system('rm -rf *.yml')

<mask token>
nameloc = ''
oloc = 'test-location-paracrinic.gif'
for i in np.arange(1200):
    if (i + 1) % 8 == 0:
        nameloc += 'run' + str(i + 1) + '.png '
os.system('convert -delay 5 -loop 5 ' + nameloc + ' ' + oloc)
nameall = ''
oall = 'test-all-paracrinic.gif'
for i in np.arange(1200):
    if (i + 1) % 5 == 0:
        nameall += 'run' + str(i + 1) + '.png '
os.system('convert -delay 5 -loop 5 ' + nameall + ' ' + oall)
os.system('rm -rf *.png')
os.system('rm -rf *.h5')
os.system('rm -rf *.yml')

import subprocess
import numpy as np
import os
nameloc = ''
oloc = 'test-location-paracrinic.gif'
for i in np.arange(1200):
    if (i + 1) % 8 == 0:
        nameloc += 'run' + str(i + 1) + '.png '
os.system('convert -delay 5 -loop 5 ' + nameloc + ' ' + oloc)
nameall = ''
oall = 'test-all-paracrinic.gif'
for i in np.arange(1200):
    if (i + 1) % 5 == 0:
        nameall += 'run' + str(i + 1) + '.png '
os.system('convert -delay 5 -loop 5 ' + nameall + ' ' + oall)
os.system('rm -rf *.png')
os.system('rm -rf *.h5')
os.system('rm -rf *.yml')

import subprocess
import numpy as np
import os

nameloc = ""
oloc = 'test-location-paracrinic.gif'

for i in np.arange(1200):
    if (i + 1)%8 == 0:
        nameloc += 'run'+str(i+1)+'.png '

os.system("convert -delay 5 -loop 5 " + nameloc +" " + oloc)

nameall = ""
oall = 'test-all-paracrinic.gif'
for i in np.arange(1200):
    if (i+1)%5 == 0:
        nameall += 'run'+str(i+1)+'.png '

os.system("convert -delay 5 -loop 5 " + nameall +" " + oall)

os.system('rm -rf *.png')
os.system('rm -rf *.h5')
os.system('rm -rf *.yml')