Skip to content

Commit

Permalink
Use methods appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
Oddant1 committed Jun 27, 2024
1 parent b664ace commit 2db269e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions q2cli/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,8 @@ def get_opt_groups(self, ctx):
}

def _get_citation_records(self):
import q2cli.util
pm = q2cli.util.get_plugin_manager()
# Get plugin level citations
citations = list(pm.plugins[self.plugin['name']].citations)
citations = list(self._get_plugin().citations)
# Add action level citations
citations.extend(self._get_action().citations)
return tuple(citations)
Expand Down

0 comments on commit 2db269e

Please sign in to comment.