Example files
Locating the files
The examples throughout our documentation make use of a single set of test files.
Test files can be found in the tests/data/ directory of our Github repository. These are short, simplified files used exclusively by our automated test suite.
Running an example command
To run any of the example code or commands in our documentation, follow these steps.
Clone our Github repository
git clone -b v$(panct --version) https://github.com/CAST-genomics/panct.git
Change to the cloned directory
cd panct
Execute the example command
Running all examples
All of our examples are included within our test suite, which is executed regularly by our continuous integration system. To check that all of the examples work on your system, you can just have pytest automatically run all of our tests.
Follow the first three steps above
Install
pytestpip install 'pytest>=6.2.5'
Run our tests
pytest tests/