Radiation-Transport / iWW-GVR

A tool to manipulate MCNP weight window (WW) and to generate Global Variance Reduction (GVR) parameters
Other
7 stars 7 forks source link

Fix testing data access #12

Closed dvp2015 closed 2 years ago

dvp2015 commented 2 years ago

The data should be accessible in standalone pytest runs. Before the change the tests wer fine only from PyCharm session, where the data files were in the working directory on test runs. For standalone pytest runs loading the test data requires using package information.

Also a couple of fixes for meshtal reading is applied (commented in the code).