Ignore:
Timestamp:
Apr 24, 2020 11:27:10 AM (4 years ago)
Author:
toby
Message:

bug in CIF export; misc cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/exports/G2export_CIF.py

    r4402 r4411  
    30583058        dlg.Destroy()
    30593059        if ret == wx.ID_OK:
    3060             cf = G2IO.ReadCIF(fil)
     3060            cf = G2obj.ReadCIF(fil)
    30613061            if len(cf.keys()) == 0:
    30623062                raise Exception("No CIF data_ blocks found")
     
    30713071            dblk,loopstructure = copy.deepcopy(self.CIF) # don't modify original
    30723072        else:
    3073             cf = G2IO.ReadCIF(self.CIF)
     3073            cf = G2obj.ReadCIF(self.CIF)
    30743074            dblk,loopstructure = CIF2dict(cf)
    30753075        dlg = EditCIFtemplate(self.cifdefs,dblk,loopstructure,self.defaultname)
Note: See TracChangeset for help on using the changeset viewer.