Introduction
Introduction Statistics Contact Development Disclaimer Help
tSphere unsuccessfull return status changed to warning - sphere - GPU-based 3D …
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 89410ac23699c2d57aac5c6ac5b99bb8793e7670
parent 54d689a2ba2ccbed85b742b66b1c33c13bb34f28
Author: Anders Damsgaard <[email protected]>
Date: Thu, 11 Apr 2013 10:29:16 +0200
Sphere unsuccessfull return status changed to warning
Diffstat:
M python/sphere.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python/sphere.py b/python/sphere.py
t@@ -1183,7 +1183,7 @@ class Spherebin:
status = subprocess.call("cd ..; " + valgrindbin + cudamemchk + "./sph…
if (status != 0):
- raise Exception("Error, the sphere run returned with status " + st…
+ print("Warning: the sphere run returned with status " + str(status…
def torqueScript(self,
email="[email protected]",
t@@ -1456,7 +1456,7 @@ class Spherebin:
plt.figure(figsize=[4, 4])
ax = plt.subplot(111)
ax.plot(porosity, depth,
- c='black', linestyle='-', linewidth=1.4)
+ c='black', linestyle='-', linewidth=1.4)
ax.set_xlabel("Horizontally averaged porosity, [-]")
ax.set_ylabel("Vertical position, [m]")
plt.savefig(self.sid + '-porositiy.' + outformat, transparent=True)
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.