Closed nsheff closed 2 years ago
I wanted to make it list the filters with eido filters
command, but then added an extra feature: displaying filter docs so that you can see what parameters filters take
~ eido filters csv
CSV PEP filter, that returns Sample object representations
This filter can save the CSVs to files, if kwargs include
`sample_table_path` and/or `subsample_table_path`.
:param peppy.Project p: a Project to run filter on
but made the filter argument required. That's a bug
ok, fixed
~ eido filters
Available filters:
- basic
- csv
- yaml
- yaml-samples
~ eido filters -f basic
Basic PEP filter, that does not convert the Project object.
This filter can save the PEP representation to file, if kwargs include `path`.
:param peppy.Project p: a Project to run filter on
ok that makes sense! from my perspective I was expecting something under convert
, rather than a separate command -- I was naturally looking for eido convert --list
or something. I didn't think to look at a different command namespace, since that would have seemed out-of-scope to me. that's why I missed the eido filters
command
do you think it makes sense to move the filters
functionality to convert
? It is split like this already in the released version: http://eido.databio.org/en/latest/filters/
Yes, I think filters and convert are synonyms and we should move them into one command. I'm working on this.
How can I get the list of availlable output formats?
Also, is the
-f
command docs here correct? I think that's the wrong help string.