Open aamster opened 3 years ago
The OphysLimsExtractor, BehaviorOphysLimsExtractor, and BehaviorLimsExtractor classes have a number of methods that grab the exact same data.
Perhaps this issue can be renamed to Catalogue and encapsulate redundant queries in visual behavior LIMS APIs
?
Let's plan to look at this in the broader context of refactoring the entire set of Behavior APIs in the AllenSDK. e.g. as part of this work that Dan has started to plan out: http://confluence.corp.alleninstitute.org/display/IT/AllenSDK+Behavior+Refactor+Brainstorm
The LIMS API has many long queries to retrieve well known files which share logic. For example the following are basically the same and differ only in the filter on
wkf.attachable_type
andwkft.name
Reducing redundancy in the queries will help with readability.
Acceptance criteria