AllenInstitute / visual_behavior_analysis

Python package for analyzing behavioral data for Brain Observatory: Visual Behavior
Other
22 stars 6 forks source link

importing data_access.loading fails if LIMS credentials aren't set #672

Closed dougollerenshaw closed 4 years ago

dougollerenshaw commented 4 years ago

data_access.loading assumes that users have login credentials for LIMS and mtrain.

External users, or first time internal users, will not have these environment variables set.

In order to avoid a hard-fail, I think we should wrap this in a try/except with a warning.

dougollerenshaw commented 4 years ago

Fixed in PR #673