Changeset 1102 for trunk/GSASII.py


Ignore:
Timestamp:
Oct 12, 2013 10:47:06 PM (9 years ago)
Author:
toby
Message:

change exports to always have lists of phases & histograms; new export examples; CIF export fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1092 r1102  
    12141214        #code to debug an Exporter. much is hard-coded below, but code is reloaded before
    12151215        # each use allowing faster development
    1216         def DebugExporter(event):
    1217             reload(G2IO)
    1218             import G2export_example
    1219             reload(G2export_example)
    1220             G2export_example.ExportPhaseShelx(self).Exporter(event)           
    1221         item = menu.Append(
    1222             wx.ID_ANY,kind=wx.ITEM_NORMAL,
    1223             help="reload and test ExportPhaseShelx",text="test ExportPhaseShelx")
    1224         self.Bind(wx.EVT_MENU, DebugExporter, id=item.GetId())
    1225         self.ExportLookup[item.GetId()] = 'phase'
     1216        # def DebugText(event):
     1217        #     reload(G2IO)
     1218        #     import dev_export_example
     1219        #     reload(dev_export_example)
     1220        #     dev_export_example.ExportSingleText(self).Exporter(event)
     1221        # item = menu.Append(
     1222        #     wx.ID_ANY,kind=wx.ITEM_NORMAL,
     1223        #     help="debug text",text="test Export")
     1224        # self.Bind(wx.EVT_MENU, DebugText, id=item.GetId())
     1225        # self.ExportLookup[item.GetId()] = 'single'
    12261226           
    12271227    def _Add_ExportMenuItems(self,parent):
Note: See TracChangeset for help on using the changeset viewer.