File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -259,15 +259,20 @@ ncbi-genome-download --help
259
259
260
260
### As a method
261
261
262
- You can also use it as a method call. Pass the pythonised keyword arguments
263
- (` _ ` instead of ` - ` ) as described above or in the ` --help ` :
262
+ You can also use it as a method call:
264
263
265
264
``` python
266
265
import ncbi_genome_download as ngd
267
266
ngd.download()
268
267
```
269
268
270
- ** Note** : To specify a taxonomic group, like _ bacteria_ , use the ` group ` keyword.
269
+ Pass the pythonised keyword arguments as described above
270
+ or in the ` --help ` . To specify taxonomic groups, like _ bacteria_ ,
271
+ use the ` groups ` keyword. To specify file formats, like for the ` --format `
272
+ CLI option, use ` file_formats ` . All other keywords should match the CLI
273
+ options, with ` - ` converted to ` _ ` . Note that because the method call
274
+ follows the same logic as the CLI, lists data should still be passed as
275
+ strings, separated by a comma but no spaces, just like on the command line.
271
276
272
277
### Contributed Scripts: ` gimme_taxa.py `
273
278
You can’t perform that action at this time.
0 commit comments