maxbetjes commited on
Commit
0f9a2e9
·
verified ·
1 Parent(s): 937a2b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def tif_view(filepath, z):
48
  nn = np.minimum(3, img.shape[-1])
49
  imgi[:,:,:nn] = img[:,:,:nn]
50
 
51
- filepath = fpath+'.png'
52
  tiff.imwrite(filepath, imgi.astype('uint8'))
53
  print('tif'+filepath)
54
  return filepath
 
48
  nn = np.minimum(3, img.shape[-1])
49
  imgi[:,:,:nn] = img[:,:,:nn]
50
 
51
+ filepath = fpath+'z'+str(z)+'.png'
52
  tiff.imwrite(filepath, imgi.astype('uint8'))
53
  print('tif'+filepath)
54
  return filepath