galaxyproject / ephemeris

Library for managing Galaxy plugins - tools, index data, and workflows.
https://ephemeris.readthedocs.org/
Other
28 stars 38 forks source link

Fix crash when too_with_panel is empty #120

Closed jvanbraekel closed 5 years ago

jvanbraekel commented 5 years ago

When tool_with_panel was empty and ToolSheedClient.get_repositories() was not it was crashing because tool_panel_section_id/label were not defined. Fix : Define them outside of the loop to match the use later inside the if condition.

Make a new branch/pull request because inside the other one there was a mysterious anoying sticky white space inserted.