CLI COMPSΒΆ

The COMPS platform related commands can be accessed with either idmtools comps or comps-cli. All comps command require a target configuration block or alias to use to configure the connection to COMPS. See the details of the top level command below for detailed help:

$ idmtools comps_subcommand --help
INI File Used: /home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/checkouts/latest/docs/idmtools.ini

Warning: entry point could not be loaded. Contact its author for help.


Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/envs/latest/lib/python3.8/site-packages/click_plugins/core.py", line 37, in decorator
    group.add_command(entry_point.load())
  File "/home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/envs/latest/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2467, in load
    self.require(*args, **kwargs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/envs/latest/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2490, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
  File "/home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/envs/latest/lib/python3.8/site-packages/pkg_resources/__init__.py", line 815, in resolve
    dist = self._resolve_dist(
  File "/home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/envs/latest/lib/python3.8/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (packaging 23.0 (/home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/envs/latest/lib/python3.8/site-packages), Requirement.parse('packaging<22.0,>=20.4'), {'idmtools'})
$ idmtools comps --help
INI File Used: /home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/checkouts/latest/docs/idmtools.ini
Usage: idmtools [OPTIONS] COMMAND [ARGS]...
Try 'idmtools --help' for help.

Error: No such command 'comps'.

You can login to a COMPS environment by using the idmtools comps CONFIG_BLOCK login command. See the help below:

$ idmtools comps CONFIG_BLOCK login --help
INI File Used: /home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/checkouts/latest/docs/idmtools.ini
Usage: idmtools [OPTIONS] COMMAND [ARGS]...
Try 'idmtools --help' for help.

Error: No such command 'comps'.

You can assetize outputs from the CLI by running idmtools comps CONFIG_BLOCK assetize-outputs:

$ idmtools comps CONFIG_BLOCK assetize-outputs --help
INI File Used: /home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/checkouts/latest/docs/idmtools.ini
Usage: idmtools [OPTIONS] COMMAND [ARGS]...
Try 'idmtools --help' for help.

Error: No such command 'comps'.

You can download from the CLI by running idmtools comps CONFIG_BLOCK download:

$ idmtools comps CONFIG_BLOCK download --help
INI File Used: /home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/checkouts/latest/docs/idmtools.ini
Usage: idmtools [OPTIONS] COMMAND [ARGS]...
Try 'idmtools --help' for help.

Error: No such command 'comps'.