Changeset 3321


Ignore:
Timestamp:
Mar 28, 2018 9:41:45 AM (7 years ago)
Author:
vondreele
Message:

allow reading of ge files with empty header (ugh!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/imports/G2img_GE.py ΒΆ

    r3151 r3321  
    151151        if size != 2048:
    152152            print('Warning GE image size unexpected: '+str(size))
    153             return 0,0,0,0,False # probably should quit now
     153            print('Assumed 2048x2048')
     154            size = 2048
     155            nframes = 3
     156#            return 0,0,0,0,False # probably should quit now
    154157        if imagenum > nframes:
    155158            print('Error: attempt to read image #'+str(imagenum)+
Note: See TracChangeset for help on using the changeset viewer.