- Timestamp:
- Apr 24, 2020 11:27:10 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIIO.py
r4410 r4411 16 16 Includes support for image reading. 17 17 18 Also includes base class es for data import routines.19 20 T his module needs some work to separate wx from non-wx routines. GUI18 Also includes base class for data export routines (TODO: should move) 19 20 TODO: This module needs some work to separate wx from non-wx routines. GUI 21 21 routines should probably move to GSASIIctrlGUI. 22 22 ''' 23 23 24 24 from __future__ import division, print_function 25 # If this is being used for GSASIIscriptable, don't depend on wx 25 26 # Allow this to be imported without wx present. Was needed for G2scriptable, but is 27 # likely not needed anymore 26 28 try: 27 29 import wx 28 30 except ImportError: 29 # this may not be needed for sphinxanymore31 # was needed by sphinx, but probably not anymore 30 32 class Placeholder(object): 31 33 def __init__(self): -
trunk/GSASIIscriptable.py
r4409 r4411 1091 1091 import GSASIIpwd as G2pwd 1092 1092 import GSASIIstrMain as G2strMain 1093 #import GSASIIIO as G2IO1094 1093 import GSASIIstrIO as G2strIO 1095 1094 import GSASIIspc as G2spc -
trunk/exports/G2export_CIF.py
r4402 r4411 3058 3058 dlg.Destroy() 3059 3059 if ret == wx.ID_OK: 3060 cf = G2 IO.ReadCIF(fil)3060 cf = G2obj.ReadCIF(fil) 3061 3061 if len(cf.keys()) == 0: 3062 3062 raise Exception("No CIF data_ blocks found") … … 3071 3071 dblk,loopstructure = copy.deepcopy(self.CIF) # don't modify original 3072 3072 else: 3073 cf = G2 IO.ReadCIF(self.CIF)3073 cf = G2obj.ReadCIF(self.CIF) 3074 3074 dblk,loopstructure = CIF2dict(cf) 3075 3075 dlg = EditCIFtemplate(self.cifdefs,dblk,loopstructure,self.defaultname)
Note: See TracChangeset
for help on using the changeset viewer.