Ignore:
Timestamp:
Jan 7, 2018 9:06:19 PM (4 years ago)
Author:
toby
Message:

add data & parameter access in scripting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/exports/G2export_CIF.py

    r3200 r3216  
    19621962            #        +'\n'+FormatPhaseProfile(phasenam))
    19631963            if hist.startswith("PWDR"):
    1964                 histblk = self.Histograms[hist]["Sample Parameters"]
    19651964                WritePowderData(hist)
    19661965            elif hist.startswith("HKLF"):
     
    23822381            longFormatName = 'Export data as CIF'
    23832382            )
     2383        if G2frame is None: raise AttributeError('CIF export requires data tree') # prevent use from Scriptable
    23842384        self.exporttype = ['powder']
    23852385        # CIF-specific items
Note: See TracChangeset for help on using the changeset viewer.