Skip to content

Commit

Permalink
More debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Oddant1 committed Oct 9, 2023
1 parent c470fb9 commit efa2b5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions q2cli/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,11 @@ def _plugin_lookup(self):
self._plugins = q2cli.core.cache.CACHE.plugins

name_map = {}
print(list(self._plugins.keys()))
for name, plugin in self._plugins.items():
print(name)
if plugin['actions']:
print("We have actions")
name_map[q2cli.util.to_cli_name(name)] = plugin
return name_map

Expand Down
2 changes: 1 addition & 1 deletion q2cli/tests/test_cache_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def setUp(self):

self.runner = CliRunner()
self.plugin_command = RootCommand().get_command(
ctx=None, name='dummy-plugin')
ctx=None, name='bad-plugin')
self.tempdir = tempfile.mkdtemp(prefix='qiime2-q2cli-test-temp-')
self.cache = Cache(os.path.join(self.tempdir, 'new_cache'))

Expand Down

0 comments on commit efa2b5f

Please sign in to comment.