Changeset 507 for MPbranch/GSASII.py


Ignore:
Timestamp:
Mar 1, 2012 3:21:29 PM (10 years ago)
Author:
toby
Message:

fix function calc to allow for out of sequence finish of 'threads'; other minor fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MPbranch/GSASII.py

    r497 r507  
    99# $Id$
    1010########### SVN repository information ###################
    11 import GSASIImain as G2
    12 def main():
     11if __name__ == '__main__':
     12    '''Running interactively, get the whole shebang and start it'''
     13    import GSASIImain as G2
    1314    application = G2.GSASIImain(0)
     15    application.MainLoop()
     16else:
     17    '''running as import (e.g. multiprocessing module) only need the
     18    computation modules'''
     19    import GSASIIstruct
    1420
    15     #application.main.OnRefine(None)
    16     application.MainLoop()
    17    
    18 if __name__ == '__main__':
    19     main()
Note: See TracChangeset for help on using the changeset viewer.