Changeset 3253


Ignore:
Timestamp:
Feb 1, 2018 10:15:35 AM (4 years ago)
Author:
toby
Message:

remove extraneous reload; improve scriptable docs

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIscriptable.py

    r3223 r3253  
    26792679commandhelp["create"] = "creates a GSAS-II project, optionally adding histograms and/or phases"
    26802680def create(args):
    2681     """The create subcommand. This creates a GSAS-II project, optionally adding histograms and/or phases::
     2681    """Implements the create command-line subcommand. This creates a GSAS-II project, optionally adding histograms and/or phases::
    26822682
    26832683  usage: GSASIIscriptable.py create [-h] [-d HISTOGRAMS [HISTOGRAMS ...]]
     
    27232723commandhelp["add"] = "adds histograms and/or phases to GSAS-II project"
    27242724def add(args):
    2725     """The add subcommand. This adds histograms and/or phases to GSAS-II project::
     2725    """Implements the add command-line subcommand. This adds histograms and/or phases to GSAS-II project::
    27262726
    27272727  usage: GSASIIscriptable.py add [-h] [-d HISTOGRAMS [HISTOGRAMS ...]]
     
    27882788commandhelp["dump"] = "Shows the contents of a GSAS-II project"
    27892789def dump(args):
    2790     """The dump subcommand shows the contents of a GSAS-II project::
     2790    """Implements the dump command-line subcommand, which shows the contents of a GSAS-II project::
    27912791
    27922792       usage: GSASIIscriptable.py dump [-h] [-d] [-p] [-r] files [files ...]
     
    28562856'''
    28572857def refine(args):
    2858     """Conducts refinements on GSAS-II projects according to a JSON refinement dict::
     2858    """Implements the refine command-line subcommand:
     2859    conducts refinements on GSAS-II projects according to a JSON refinement dict::
    28592860   
    28602861  usage: GSASIIscriptable.py refine [-h] gpxfile [refinements]
     
    28882889commandhelp["seqrefine"] = "Not implemented. Placeholder for eventual sequential refinement implementation"
    28892890def seqrefine(args):
    2890     """The seqrefine subcommand"""
     2891    """Future implementation for the seqrefine command-line subcommand """
    28912892    raise NotImplementedError("seqrefine is not yet implemented")
    28922893
     
    28942895commandhelp["export"] = "Export phase as CIF"
    28952896def export(args):
    2896     """The export subcommand: Exports phase as CIF::
     2897    """Implements the export command-line subcommand: Exports phase as CIF::
    28972898
    28982899      usage: GSASIIscriptable.py export [-h] gpxfile phase exportfile
  • trunk/exports/G2export_CIF.py

    r3246 r3253  
    324324    WriteCIFitem(fp, '\nloop_  _atom_type_symbol _atom_type_number_in_cell')
    325325    formula = ''
    326     reload(G2mth)
    327326    for elem in HillSortElements(compDict.keys()):
    328327        WriteCIFitem(fp, '  ' + PutInCol(elem,4) +
     
    937936        #     WriteCIFitem(self.fp, '\nloop_  _atom_type_symbol _atom_type_number_in_cell')
    938937        #     formula = ''
    939         #     reload(G2mth)
    940938        #     for elem in HillSortElements(compDict.keys()):
    941939        #         WriteCIFitem(self.fp, '  ' + PutInCol(elem,4) +
Note: See TracChangeset for help on using the changeset viewer.