Changeset f9c8474 in sasmodels for sasmodels/generate.py


Ignore:
Timestamp:
Mar 7, 2018 2:02:26 PM (6 years ago)
Author:
krzywon
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
c11d09f
Parents:
2f733b1
Message:

Change environment variable to already exiting variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/generate.py

    r2f733b1 rf9c8474  
    907907        except ImportError: 
    908908            # If the model isn't a built in model, try the plugin directory 
    909             plugin_path = environ.get('PLUGIN_MODEL_DIR', None) 
     909            plugin_path = environ.get('SAS_MODELPATH', None) 
    910910            if plugin_path is not None: 
    911911                file_name = model_name.split(sep)[-1] 
Note: See TracChangeset for help on using the changeset viewer.