Commit 3efc8de5 authored by Martin Schorb's avatar Martin Schorb
Browse files

mergefile: filename extension fix

parent ce83ffde
......@@ -515,7 +515,7 @@ def mergemap(mapitem,crop=False,black=False,blendmont=True):
montage_tiles =['frames'])
tileidx_offset = 0
mbase = os.path.basename(mapfile)
mbase = os.path.splitext(os.path.basename(mapfile))[0]
if mapfile.find('.st')<0 and mapfile.find('.map')<0 and mapfile.find('.mrc')<0:
#not an mrc file
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