updated tests to follow new addStrainTensors syntax, check in seeds_fromTable.py was wrong with simplified default
This commit is contained in:
parent
cddbd53789
commit
7775b254bd
|
@ -110,7 +110,7 @@ for file in files:
|
||||||
|
|
||||||
#--- finding bounding box ------------------------------------------------------------------------------------
|
#--- finding bounding box ------------------------------------------------------------------------------------
|
||||||
boundingBox = np.array((np.amin(table.data[:,0:3],axis = 0),np.amax(table.data[:,0:3],axis = 0)))
|
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[0,:] = np.minimum(options.box[0:3],boundingBox[0,:])
|
||||||
boundingBox[1,:] = np.maximum(options.box[3:6],boundingBox[1,:])
|
boundingBox[1,:] = np.maximum(options.box[3:6],boundingBox[1,:])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue