Ignore:
Timestamp:
Oct 2, 2013 9:27:17 AM (8 years ago)
Author:
toby
Message:

more CIF work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2phase_CIF.py

    r1069 r1074  
    1717GSASIIpath.SetVersionNumber("$Revision: 810 $")
    1818import CifFile as cif # PyCifRW from James Hester
    19 import urllib
    2019
    2120class CIFPhaseReader(G2IO.ImportPhase):
     
    7473#### end development code
    7574            self.ShowBusy() # this can take a while
    76             ciffile = 'file:'+urllib.pathname2url(filename)
    77             #cf = cif.ReadCif(ciffile)
    78             fp = open(ciffile,'r')             # patch: open file to avoid windows bug
    79             cf = cif.ReadCif(fp)
    80             fp.close()
     75            cf = G2IO.ReadCIF(filename)
    8176            self.DoneBusy()
    8277            #print cf
Note: See TracChangeset for help on using the changeset viewer.