tadd format cmd - sphere - GPU-based 3D discrete element method algorithm with … | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit b52f4b15ae61b113931003f1b0941ee404d779ca | |
parent 5c8428450cf432320ac95a9cecc9f712f6acdd33 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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: |