Skip to content
Snippets Groups Projects
Commit 463e561f authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

Fix parser help for clean-project-data

parent 449a0c58
No related branches found
No related tags found
3 merge requests!52Bring all changes from dev into master,!51merge fast-api into dev,!45Deploy app in kubernetes
...@@ -348,13 +348,14 @@ def get_parser(): ...@@ -348,13 +348,14 @@ def get_parser():
parser_clean_pd = subparsers.add_parser( parser_clean_pd = subparsers.add_parser(
"clean-project-data", "clean-project-data",
help="compute joint statistics and generate plots for a given set of phenotypes", help="Remove old projects that haven't been accessed recently",
) )
parser_clean_pd.add_argument( parser_clean_pd.add_argument(
"--max-days-without-access", "--max-days-without-access",
type=int, type=int,
default=30, default=30,
help="Every project not access within the provided amount of days will be removed", help="A project is marked for deletion if the number of days elapsed since "
"the last access is greater than the amount provided.",
) )
parser_clean_pd.set_defaults(func=w_clean_project_data) parser_clean_pd.set_defaults(func=w_clean_project_data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment