mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #244 from guerler/tool_form_001
[15.05] Remove redundant version ids from version selector
This commit is contained in:
@@ -2550,7 +2550,8 @@ class Tool( object, Dictifiable ):
|
||||
tool_versions = []
|
||||
tools = self.app.toolbox.get_loaded_tools_by_lineage(self.id)
|
||||
for t in tools:
|
||||
tool_versions.append(t.version)
|
||||
if not t.version in tool_versions:
|
||||
tool_versions.append(t.version)
|
||||
|
||||
# add information with underlying requirements and their versions
|
||||
tool_requirements = []
|
||||
|
||||
Reference in New Issue
Block a user