Changeset 884


Ignore:
Timestamp:
Apr 11, 2013 11:29:11 PM (9 years ago)
Author:
toby
Message:

add histogram input from a GPX file; minor import fixes

Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r881 r884  
    348348                        rdmsg += fp.readline()
    349349                    rdmsg += '\n\nDo you want to read this file?'
    350                     if not all([ord(c) < 128 for c in rdmsg]): # show only if ASCII
     350                    if not all([ord(c) < 128 and ord(c) != 0 for c in rdmsg]): # show only if ASCII
    351351                        rdmsg = 'File '+str(
    352352                            filename)+' is a binary file. Do you want to read this file?'
  • trunk/imports/G2phase_GPX.py

    r762 r884  
    4949            return True
    5050        except Exception as detail:
     51            import sys
    5152            print self.formatName+' error:',detail # for testing
    5253            print sys.exc_info()[0] # for testing
  • trunk/imports/G2pwd_fxye.py

    r845 r884  
    255255        elif self.repeat and selections is not None:
    256256            # we were called to repeat the read
    257             print 'debug: repeat #',self.repeatcount,'selection',selections[self.repeatcount]
     257            #print 'debug: repeat #',self.repeatcount,'selection',selections[self.repeatcount]
    258258            selblk = selections[self.repeatcount]
    259259            self.repeatcount += 1
Note: See TracChangeset for help on using the changeset viewer.