galaxyproject / ephemeris

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

Fix crash when tool_with_panel is empty #119

Closed jvanbraekel closed 5 years ago

jvanbraekel commented 5 years ago

Before : Crash when 'tool_with_panel' is empty and ToolShedClient.get_repositories() is not. After : Define tool_panel_section_id/label outside of the for loop to remove the conditional definition dependency with 'tool_with_panel'

rhpvorderman commented 5 years ago

All tests succeed! Could you fix the whitespace issue? Then I am happy to merge.

jvanbraekel commented 5 years ago

Yes, no clue why this change appends at the first place...