From 6836a2eae875da33d134bb02b1c5d3b2e43e8943 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Wed, 29 May 2019 08:04:01 +0200 Subject: [PATCH] better readable --- processing/pre/geom_canvas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/processing/pre/geom_canvas.py b/processing/pre/geom_canvas.py index 281555cef..dd0a7eb86 100755 --- a/processing/pre/geom_canvas.py +++ b/processing/pre/geom_canvas.py @@ -58,8 +58,8 @@ for name in filenames: grid[i] = int(round(grid[i]*float(g.lower().replace('x','')))) if g.lower().endswith('x') \ else int(options.grid[i]) - new = np.full(grid,options.fill if options.fill is not None else np.nanmax(geom.microstructure)+1, - geom.microstructure.dtype) + new = np.full(grid,options.fill if options.fill is not None + else np.nanmax(geom.microstructure)+1,geom.microstructure.dtype) for x in range(geom.microstructure.shape[0]): X = x + options.offset[0]