Skip to content

Commit

Permalink
Update meta_util.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Gossty committed Aug 30, 2024
1 parent 4fa0c70 commit f5ab035
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qiita_db/meta_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,15 +558,15 @@ def generate_plugin_releases():
def get_software_commands(active):
software_list = [s for s in qdb.software.Software.iter(active=active)]
software_commands = defaultdict(lambda: defaultdict(list))

for software in software_list:
sname = software.name
sversion = software.version
commands = software.commands

for command in commands:
software_commands[sname][sversion].append(command.name)

return dict(software_commands)


Expand Down

0 comments on commit f5ab035

Please sign in to comment.