AllenInstitute / visual_behavior_analysis

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

circular dependencies #648

Closed dougollerenshaw closed 4 years ago

dougollerenshaw commented 4 years ago

There are circular dependencies that are causing apparently non-deterministic import errors. For example:

data_access/loading imports ophys/io/convert_level_1_to_level_2.py ophys/io/convert_level_1_to_level_2.py imports visualization.ophys.summary_figures visualization.ophys.summary_figures imports data_access/loading

Some of these packages need to be refactored to avoid the circular dependencies

dougollerenshaw commented 4 years ago

Fixed in PR #650