Changeset 2936 for branch


Ignore:
Timestamp:
Jul 15, 2017 2:31:54 PM (4 years ago)
Author:
toby
Message:

bail out when bin lookup fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branch/2frame/GSASIIpath.py

    r2927 r2936  
    479479            versions[v] = d
    480480    intVersionsList = sorted(versions.keys())
    481     if inpver < min(intVersionsList):
     481    if not intVersionsList:
     482        print('No binaries located')
     483        return
     484    elif inpver < min(intVersionsList):
    482485        vsel = min(intVersionsList)
    483486        print('Warning: The current numpy version, {}, is older than\n\tthe oldest dist version, {}'
Note: See TracChangeset for help on using the changeset viewer.