Skip to content

datreant/datreant.cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datreant.cli: convenient CLI interface for Treant directories

This datreant submodule adds a convenience CLI interface for Treant directories. It provides a easy way to filter directories based on tags and categories.

For more information on what datreant is and what it does, check out the official documentation.

Getting datreant.cli

If you want to work on the code, either for yourself or to contribute back to the project, clone the repository to your local machine with:

git clone https://github.com/datreant/datreant.cli.git
cd datreant.cli
python setup.py install

Using datreant.cli

You should have a new command dtr available.

For example to look how many files are in each simulation of 1AKE that are created with gromacs one could use the following line, assuming 1AKE as tag and gromacs=2016.4 as a categories key:value pair:

for f in $(dtr search simulations --tags=1AKE --categories gromacs:2016.4)
do
    ls $l | wc -l
done

Contributing

This project is still under heavy development, and there are certainly rough edges and bugs. Issues and pull requests welcome!

Releases

No releases published

Packages

No packages published

Languages