Commit e9879d76 authored by Martin Schorb's avatar Martin Schorb
Browse files

mergemap: bugfix single tif pixelsize

parent c4063124
......@@ -501,7 +501,7 @@ def mergemap(mapitem,crop=False,black=False,blendmont=True):
print('Warning: ' + mapfile + ' is not an MRC file!' + '\n')
print('Assuming it is a single tif file or a stitched montage.' + '\n')
mergefile = mapfile
mergeheader['pixelsize'] = 1./numpy.sqrt(abs(numpy.linalg.det(mat)))
pixelsize = 1./numpy.sqrt(abs(numpy.linalg.det(mat)))
mergeheader['stacksize'] = 0
tilepos = mapitem['StageXYZ'][0:2]
tilepx = '0'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment