Changeset 2903


Ignore:
Timestamp:
Jul 4, 2017 10:01:21 AM (4 years ago)
Author:
toby
Message:

try to fix Docs build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpath.py

    r2902 r2903  
    447447        bits = '32'
    448448
    449     # if np.__version__ is not defined we must be in Read The Docs
    450     if not hasattr(np,'__version_'): return
    451    
    452449    # format current python & numpy versions
    453450    pyver = 'p{}.{}'.format(*sys.version_info[0:2])
     
    630627else:                                                  # try loading them
    631628    print('Attempting to download GSAS-II binary files...')
    632     binpath = DownloadG2Binaries(g2home)
     629    try:
     630        binpath = DownloadG2Binaries(g2home)
     631    except AttributeError:
     632        print('Problem with download')
    633633    if TestSPG(binpath):
    634634        print('GSAS-II binary directory: {}'.format(binpath))
Note: See TracChangeset for help on using the changeset viewer.