tMinor markup changes - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit e5882d28eda810ce16d7d00ecfb5b4792a3391b9
DIR parent a30ba0b562e0396a5701b8addc43f800aad4c383
HTML Author: Anders Damsgaard <adc@geo.au.dk>
Date: Wed, 19 Dec 2012 11:10:55 +0100
Minor markup changes
Diffstat:
M python/sphere.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/python/sphere.py b/python/sphere.py
t@@ -1059,7 +1059,7 @@ def convert(graphicsformat = "png",
def render(binary,
method = "pres",
max_val = 1e3,
- graphicsformat = 'png',
+ graphicsformat = "png",
verbose=True):
'Render target binary using the sphere raytracer.'
t@@ -1068,7 +1068,7 @@ def render(binary,
quiet = "-q"
# Render images using sphere raytracer
- subprocess.call("cd ..; ./sphere_* " + quiet + \
+ subprocess.call("cd .. ; ./sphere_* " + quiet + \
" --method " + method + " {}".format(max_val) + \
" --render " + binary, shell=True)