aiidaplugins / aiida-crystal17

A plugin for AiiDA, to run the CRYSTAL17 code
https://aiida-crystal17.readthedocs.io
GNU Lesser General Public License v3.0
5 stars 4 forks source link

Programatically Access Test Resource Files #21

Closed chrisjsewell closed 4 years ago

chrisjsewell commented 4 years ago

Raw test files are now accessed programatically, using the importlib_resources package. this means that (a) they can be accessed even if the package is zipped, and (b) these files can be moved to a separate package in the future.

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 702


Changes Missing Coverage Covered Lines Changed/Added Lines %
aiida_crystal17/cmndline/basis_set.py 7 8 87.5%
aiida_crystal17/parsers/raw/crystal_stdout.py 0 2 0.0%
aiida_crystal17/validation/utils.py 29 31 93.55%
aiida_crystal17/data/basis_set.py 43 46 93.48%
aiida_crystal17/tests/cx1_submission_tests.py 0 4 0.0%
aiida_crystal17/tests/resources.py 81 87 93.1%
<!-- Total: 429 447 95.97% -->
Files with Coverage Reduction New Missed Lines %
aiida_crystal17/data/basis_set.py 2 85.76%
<!-- Total: 2 -->
Totals Coverage Status
Change from base Build 684: -0.06%
Covered Lines: 6308
Relevant Lines: 7207

💛 - Coveralls