Experiments#
You can use the idmtools experiment
command to get the status of and to delete experiments for
the local platform. Local platform must be running to use these commands. To see the list
of commands and options for status
, type the following at a command prompt.
$ idmtools experiment --platform Local status --help
2024-09-26 01:36:03,751 build-2507891-project-11010-institute-for-disease-modeling-idmto root[697] DEBUG idmtools core version: 1.7.11
2024-09-26 01:36:03,752 build-2507891-project-11010-institute-for-disease-modeling-idmto user[697] VERBOSE INI File Used: /home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools-local/checkouts/latest/docs/idmtools.ini
2024-09-26 01:36:03,826 build-2507891-project-11010-institute-for-disease-modeling-idmto idmtools.registry.functions[697] DEBUG {<module 'idmtools.plugins.git_commit' from '/home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools-local/envs/latest/lib/python3.8/site-packages/idmtools/plugins/git_commit.py'>, <module 'idmtools.plugins.uuid_generator' from '/home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools-local/envs/latest/lib/python3.8/site-packages/idmtools/plugins/uuid_generator.py'>, <module 'idmtools.plugins.item_sequence' from '/home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools-local/envs/latest/lib/python3.8/site-packages/idmtools/plugins/item_sequence.py'>}
2024-09-26 01:36:03,826 build-2507891-project-11010-institute-for-disease-modeling-idmto idmtools_cli.cli.init[697] DEBUG Cookie cutter project list: {'reproducible-science': ProjectTemplate(name='reproducible-science', url='gh:mkrapp/cookiecutter-reproducible-science', description='A boilerplate for reproducible and transparent science with close resemblances to the philosophy of Cookiecutter Data Science: A logical, reasonably standardized, but flexible project structure for doing and sharing data science work.', info='https://github.com/mkrapp/cookiecutter-reproducible-science'), 'docker-science': ProjectTemplate(name='docker-science', url='[email protected]:docker-science/cookiecutter-docker-science.git', description='This project is a tiny template for machine learning projects developed in Docker environments. In machine learning tasks, projects glow uniquely to fit target tasks, but in the initial state, most directory structure and targets in Makefile are common. Cookiecutter Docker Science generates initial directories which fits simple machine learning tasks.', info='https://docker-science.github.io/'), 'data-science': ProjectTemplate(name='data-science', url='https://github.com/drivendata/cookiecutter-data-science', description='A logical, reasonably standardized, but flexible project structure for doing and sharing data science work.', info='https://docker-science.github.io/')}
Usage: idmtools experiment status [OPTIONS]
List the status of experiment(s) with the ability to filter by experiment id
and tags.
Some examples: Get the status of simulations for the platform using the
local platform defaults, you would run idmtools simulation --platform Local
status
Another example would be to use a platform defined in a configuration block
while also filtering tags where a == 0 idmtools experiment --config-block
Local status --tags a 0
Multiple tags: idmtools experiment --config-block Local status --tags a 0
--tags a 3
Options:
--id TEXT Filter status by experiment ID
--tags TEXT... Tag to filter by. This should be in the form name value. For
example, if you have a tag type=PythonTask you would use
--tags type PythonTask. In addition, you can provide
multiple tags, ie --tags a 1 --tags b 2. This will perform
an AND based query on the tags meaning only jobs contains
ALL the tags specified will be displayed
--help Show this message and exit.
To see the list of commands and options for delete
, type the following at a command prompt.
$ idmtools experiment --platform Local delete --help
2024-09-26 01:36:04,671 build-2507891-project-11010-institute-for-disease-modeling-idmto root[701] DEBUG idmtools core version: 1.7.11
2024-09-26 01:36:04,671 build-2507891-project-11010-institute-for-disease-modeling-idmto user[701] VERBOSE INI File Used: /home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools-local/checkouts/latest/docs/idmtools.ini
2024-09-26 01:36:04,747 build-2507891-project-11010-institute-for-disease-modeling-idmto idmtools.registry.functions[701] DEBUG {<module 'idmtools.plugins.item_sequence' from '/home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools-local/envs/latest/lib/python3.8/site-packages/idmtools/plugins/item_sequence.py'>, <module 'idmtools.plugins.uuid_generator' from '/home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools-local/envs/latest/lib/python3.8/site-packages/idmtools/plugins/uuid_generator.py'>, <module 'idmtools.plugins.git_commit' from '/home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools-local/envs/latest/lib/python3.8/site-packages/idmtools/plugins/git_commit.py'>}
2024-09-26 01:36:04,747 build-2507891-project-11010-institute-for-disease-modeling-idmto idmtools_cli.cli.init[701] DEBUG Cookie cutter project list: {'reproducible-science': ProjectTemplate(name='reproducible-science', url='gh:mkrapp/cookiecutter-reproducible-science', description='A boilerplate for reproducible and transparent science with close resemblances to the philosophy of Cookiecutter Data Science: A logical, reasonably standardized, but flexible project structure for doing and sharing data science work.', info='https://github.com/mkrapp/cookiecutter-reproducible-science'), 'docker-science': ProjectTemplate(name='docker-science', url='[email protected]:docker-science/cookiecutter-docker-science.git', description='This project is a tiny template for machine learning projects developed in Docker environments. In machine learning tasks, projects glow uniquely to fit target tasks, but in the initial state, most directory structure and targets in Makefile are common. Cookiecutter Docker Science generates initial directories which fits simple machine learning tasks.', info='https://docker-science.github.io/'), 'data-science': ProjectTemplate(name='data-science', url='https://github.com/drivendata/cookiecutter-data-science', description='A logical, reasonably standardized, but flexible project structure for doing and sharing data science work.', info='https://docker-science.github.io/')}
Usage: idmtools experiment delete [OPTIONS] EXPERIMENT_ID
Delete an experiment, and optionally, its data
Options:
--data / --no-data Should we delete the data as well?
--help Show this message and exit.