zavolanlab / htsinfer

Infer metadata for your downstream analysis straight from your RNA-seq data
Apache License 2.0
10 stars 22 forks source link

Implement unit tests for read orientation inference #83

Closed uniqueg closed 1 year ago

uniqueg commented 2 years ago

Is your feature request related to a problem? Please describe.

Currently, comprehensive unit tests are missing for module htsinfer.get_read_orientation.

Describe the solution you'd like

Implement unit tests for the indicated module. The goal is not only to achieve 100% test coverage, i.e., run each line of code in a given test run, but to test the intended/expected behaviors of each individual method/function separately and comprehensively. Available unit tests for other modules (e.g., htsinfer.py, get_read_layout) can serve as an example.

Describe alternatives you've considered

N/A

Additional context

Note that in order to pass CI checks, coverage checks for the module have been excluded in setup.cfg. Please remove the module from the corresponding config section before filing the pull request.