Skip to content

Commit

Permalink
Put --use-cache on all actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Oddant1 committed Apr 2, 2024
1 parent d006faa commit 0dcad8d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions q2cli/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,23 +296,23 @@ def __init__(self, name, plugin, action):
click.Option(['--parallel-config'], required=False,
type=click.Path(exists=True, dir_okay=False),
help='Execute your action in parallel using a '
'config at the indicated path.'),
click.Option(['--use-cache'], required=False,
type=click.Path(exists=True, file_okay=False),
help='Specify the cache to be used for the '
'intermediate work of this pipeline. If '
'not provided, the default cache under '
'$TMP/qiime2/<uname> will be used. '
'IMPORTANT FOR HPC USERS: If you are on an '
'HPC system and are using parallel '
'execution it is important to set this to '
'a location that is globally accessible to '
'all nodes in the cluster.')])
'config at the indicated path.')])

self._misc.extend([
q2cli.util.example_data_option(
self._get_plugin, self.action['id']),
q2cli.util.citations_option(self._get_citation_records)])
q2cli.util.citations_option(self._get_citation_records),
click.Option(['--use-cache'], required=False,
type=click.Path(exists=True, file_okay=False),
help='Specify the cache to be used for the '
'intermediate work of this pipeline. If '
'not provided, the default cache under '
'$TMP/qiime2/<uname> will be used. '
'IMPORTANT FOR HPC USERS: If you are on an '
'HPC system and are using parallel '
'execution it is important to set this to '
'a location that is globally accessible to '
'all nodes in the cluster.')])

options = [*self._inputs, *self._params, *self._outputs, *self._misc]
help_ = [action['description']]
Expand Down

0 comments on commit 0dcad8d

Please sign in to comment.