updated tests to follow new addStrainTensors syntax, check in seeds_fromTable.py was wrong with simplified default

This commit is contained in:
Martin Diehl 2015-05-18 08:42:14 +00:00
parent cddbd53789
commit 7775b254bd
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ for file in files:
#--- finding bounding box ------------------------------------------------------------------------------------
boundingBox = np.array((np.amin(table.data[:,0:3],axis = 0),np.amax(table.data[:,0:3],axis = 0)))
if len(options.box) == 6:
if options.box:
boundingBox[0,:] = np.minimum(options.box[0:3],boundingBox[0,:])
boundingBox[1,:] = np.maximum(options.box[3:6],boundingBox[1,:])