Changeset 1115 for trunk/exports/G2export_CIF.py
- Timestamp:
- Oct 18, 2013 4:00:32 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/exports/G2export_CIF.py
r1102 r1115 1516 1516 1517 1517 # the export process starts here 1518 self.InitExport(event) 1518 1519 # load all of the tree into a set of dicts 1519 1520 self.loadTree() 1520 1521 # create a dict with refined values and their uncertainties 1521 1522 self.loadParmDict() 1522 if self.SetupExport(event, # set export parameters 1523 AskFile=(self.mode=='simple') 1524 ): return 1523 if self.ExportSelect(AskFile=(self.mode=='simple')): # set export parameters 1524 return 1525 1525 # Someday: get restraint & constraint info 1526 1526 #restraintDict = self.OverallParms.get('Restraints',{}) … … 1842 1842 class ExportPhaseCIF(ExportCIF): 1843 1843 '''Used to create a simple CIF of at most one phase. Uses exact same code as 1844 :class:`ExportCIF` except that `self.mode` is set to "simple" . Shows up in menu as1845 Quick CIF1844 :class:`ExportCIF` except that `self.mode` is set to "simple" in `self.InitExport`. 1845 Shows up in menu as Quick CIF. 1846 1846 1847 1847 :param wx.Frame G2frame: reference to main GSAS-II frame … … 1862 1862 '''Used to create a simple CIF containing diffraction data only. Uses exact same code as 1863 1863 :class:`ExportCIF` except that `self.mode` is set to "simple" and `self.currentExportType` 1864 is set to "single" or "powder" in `self. SetupExport`. Shows up in menus as Data-only CIF.1864 is set to "single" or "powder" in `self.InitExport`. Shows up in menus as Data-only CIF. 1865 1865 1866 1866 :param wx.Frame G2frame: reference to main GSAS-II frame
Note: See TracChangeset
for help on using the changeset viewer.