tadd format cmd - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit b52f4b15ae61b113931003f1b0941ee404d779ca
(DIR) parent 5c8428450cf432320ac95a9cecc9f712f6acdd33
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 8 Apr 2015 15:39:40 +0200
add format cmd
Diffstat:
M python/sphere.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -6859,7 +6859,8 @@ class sim:
outfolder = '../img_out/')
subprocess.call('cd ../img_out/ && ' +
- 'convert -quality 100 {}.*.png {}-contacts.avi',
+ 'convert -quality 100 {}.*.png {}-contacts.avi'.format(
+ self.sid, self.sid),
shell=True)
else: