kuchtact / WiPPLPy

Easily access data from plasma devices in the Wisconsin Plasma Physics Laboratory (WiPPL).
https://wipplpy.readthedocs.io/en/latest/
2 stars 4 forks source link

Refactor `get_remote_shot_tree` to reduce number of branches #6

Open kuchtact opened 1 year ago

kuchtact commented 1 year ago

The ~wipplypy.modules.shot_loader.get_remote_shot_tree function is too cluttered and the ruff error was ignored in commit 1a00272727b8cfb4dee586d0b2da53378edcc9e2. This function needs to be refactored into multiple functions to ease readability.