Commit graph

11 commits

Author SHA1 Message Date
Paul Romano
5c63e0df21
Fix a few warnings, rename add_to_tallies_file (#3639) 2025-11-18 17:57:12 -06:00
Paul Romano
0d83672544 Resolve a few TODOs related to Python 3.6 2021-07-27 22:50:28 -05:00
Miriam (Rathbun) Kreher
77f88db72e
Update test mgxs_library_distribcell/
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2020-08-15 22:26:09 -06:00
Miriam
8def35f300 Made explicit loop to exclude current from certain mgxs tests
Previously used MGXS_TYPES[:-1] but to be explicit, I instead looped over all MGXS_TYPES and excluded current.
These tests cannot run with current because:
-distribcell is not a valid domain for current
-nuclide/no_nuclides option is not relevant for current
2020-08-07 20:05:27 +00:00
Miriam
43456ea2d6 Made Current class consistent with mesh domain type
1) Kept by_nuclide, num_nuclides, and nuclides in the docstrings because when building a mgxs library for all mgxs_types, the variables should be the same accross all classes.
However, I noted that they were unused for a SurfaceMGXS.

2) Removed all code related to nuclides and micro xs since they were unused anyway.

3) Removed the possibility of computing a Current with any domain other than mesh.
Included an error message if a current mgxs object is instantiated with any domain other than mesh.
Since mesh domains and by_nuclide features are uncompatible, an existing message is already raised when mesh and by_nuclide are used together.

4) Changed estimator type to analog.
2020-07-17 22:07:15 +00:00
Paul Romano
efb3beb8ce Add expected failure for mgxs_library_distribcell on Python 3.5 2020-02-03 15:53:02 -06:00
Paul Romano
b7c63be018 Use super() in Python classes in tests package 2018-02-06 13:14:17 -05:00
Paul Romano
740f03fce1 Use single package-level fixture for regression tests 2018-02-05 07:35:19 -06:00
Paul Romano
73947ad7de Reset IDs for tests that instantiate models directly 2018-02-05 07:35:19 -06:00
Paul Romano
98d5496102 Ability to run regression tests using pytest 2018-02-05 07:35:19 -06:00
Paul Romano
c3af1c915b Move regression tests into separate directory 2018-02-05 07:35:19 -06:00
Renamed from tests/test_mgxs_library_distribcell/test_mgxs_library_distribcell.py (Browse further)