Skip to content

Commit 7c7dcaf

Browse files
Code and REAMDE cleaning
1 parent 78abb99 commit 7c7dcaf

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To query the api at c3g-portal.dev-sd4h.ca:
2020
pt_cli --url-root https://c3g-portal.dev-sd4h.ca help
2121
```
2222

23-
To acces on of the route listed with the `help` cmd, here `/project`
23+
To access one of the routes listed with the `help` cmd, here `/project`
2424
```bash
2525
pt_cli --url-root https://c3g-portal.dev-sd4h.ca route /project
2626
```
@@ -41,13 +41,13 @@ Once you have a [project_tracking server running on your local machine](https://
4141

4242
```bash
4343
# Printing all routes
44-
pt_cli --url-root http://http://127.0.0.1:5000 help
44+
pt_cli --url-root http://127.0.0.1:5000 help
4545
# Creating a project named my-project
46-
pt_cli --url-root http://http://127.0.0.1:5000 route /admin/create_project/my-project
46+
pt_cli --url-root http://127.0.0.1:5000 route /admin/create_project/my-project
4747
# Should return
4848
# {"creation": "2023-04-13T13:50:39.781030", "id": 1, "name": "MY-PROJECT", "tablename": "project"}
4949
# Checking what projects are available
50-
pt_cli --url-root http://http://127.0.0.1:5000 route project
50+
pt_cli --url-root http://127.0.0.1:5000 route project
5151
# Should return
5252
# {"Projetc list": ["MY-PROJECT"]}
5353
```

pt_cli/tools.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,6 @@ def __init__(self, *args, **kwargs):
193193
super().__init__(*args, **kwargs)
194194
self.readsets_samples_input = None
195195
self.output_file = None
196-
# self.parser = self.digest_subparser.add_parser(self.__subtool_name__, help=self.subhelp(), add_help=True)
197-
# self.arguments()
198-
# self.parser.set_defaults(func=self.func)
199196

200197
def help(self):
201198
return "Will return a Genpipes readset file in a tsv format. /!\\ Either use --input-json OR --sample_<name|id>/--readset_<name|id> + --endpoint arguments"
@@ -286,9 +283,6 @@ def __init__(self, *args, **kwargs):
286283
super().__init__(*args, **kwargs)
287284
self.readsets_samples_input = None
288285
self.output_file = None
289-
# self.parser = self.digest_subparser.add_parser(self.__subtool_name__, help=self.subhelp(), add_help=True)
290-
# self.arguments()
291-
# self.parser.set_defaults(func=self.func)
292286

293287
def help(self):
294288
return "Will return a Genpipes pair file in a csv format. /!\\ Either use the --input-json or the --sample/--readset + --endpoint arguments"

0 commit comments

Comments
 (0)