better readable
This commit is contained in:
parent
dfc2b47abc
commit
6836a2eae8
|
@ -58,8 +58,8 @@ for name in filenames:
|
||||||
grid[i] = int(round(grid[i]*float(g.lower().replace('x','')))) if g.lower().endswith('x') \
|
grid[i] = int(round(grid[i]*float(g.lower().replace('x','')))) if g.lower().endswith('x') \
|
||||||
else int(options.grid[i])
|
else int(options.grid[i])
|
||||||
|
|
||||||
new = np.full(grid,options.fill if options.fill is not None else np.nanmax(geom.microstructure)+1,
|
new = np.full(grid,options.fill if options.fill is not None
|
||||||
geom.microstructure.dtype)
|
else np.nanmax(geom.microstructure)+1,geom.microstructure.dtype)
|
||||||
|
|
||||||
for x in range(geom.microstructure.shape[0]):
|
for x in range(geom.microstructure.shape[0]):
|
||||||
X = x + options.offset[0]
|
X = x + options.offset[0]
|
||||||
|
|
Loading…
Reference in New Issue