Commit graph

21 commits

Author SHA1 Message Date
Jonathan Shimwell
5d2b352025
f strings instead of .format for string editing (#2987) 2024-04-29 16:45:37 -05:00
Paul Romano
9fee6534b6
Prepare for NumPy 2.0 (#2845) 2024-03-26 12:00:06 -04:00
Jonathan Shimwell
ee7b95245a
Static errors continuation (#2557)
Co-authored-by: Christina Cai <chrsitinacai48933@gmail.com>
Co-authored-by: christinacai123 <63215816+christinacai123@users.noreply.github.com>
2023-06-16 22:34:02 -05:00
Paul Romano
4943ae9307 Alphabetize import ordering (and use relative imports in a few places) 2020-04-06 15:16:09 -05:00
Paul Romano
d5b54e8cb5 Consistent use of ABC instead of ABCMeta where possible 2020-04-01 14:13:05 -05:00
liangjg
ea71b9e377 replace all dataset.value with dataset[()] (or occasionally dataset[...]) 2019-03-27 11:45:48 -04:00
Paul Romano
d3d6dc87dc Remove a few more __future__ imports. Use collections.abc 2018-02-05 23:14:30 -05:00
Paul Romano
deab4b3d33 Use empty-argument form of super() 2018-02-05 23:14:30 -05:00
Paul Romano
c428cee667 Remove __future__ and six imports 2018-02-05 23:14:30 -05:00
Paul Romano
6da9f16d29 Convert ACE data from MeV to eV 2016-10-31 14:46:47 -05:00
Paul Romano
7e2d171803 Merge branch 'develop' into scopatz-six 2016-10-13 06:09:10 -05:00
Paul Romano
de009f4c34 Use six.add_metaclass to be compatible with Python 2 and 3 2016-10-06 21:55:12 -05:00
Paul Romano
cbcd3a7f57 Extend openmc.data to be able to import ENDF data and perform resonance
reconstruction.
2016-09-16 01:55:07 +02:00
Adam Nelson
6403216911 Renamed Equality to EqualityMixin 2016-08-19 06:58:17 -04:00
Adam Nelson
f2fc06d960 Replaced prior __eq__ classes with the equality mixin 2016-08-17 05:15:57 -04:00
Adam Nelson
e8ebc74b4f added __eq__ to the nuclear data classes and also enabled openmc.data.ThermalScattering.from_hdf5 to use either a group or filename like Neutron can. 2016-08-11 19:11:10 -04:00
Paul Romano
e2112b86ae Respond to @smharper comments on #684 2016-07-25 06:33:37 -05:00
Paul Romano
cf59208f34 Rename openmc.data.container to openmc.data.function 2016-07-19 21:41:41 -05:00
Paul Romano
495556a2f5 Cleanup openmc.data based on pylint 2016-07-15 08:26:30 -05:00
Paul Romano
e19291118e Refactor use of ACE tables to generate neutron/thermal scattering data 2016-07-14 15:19:52 -05:00
Paul Romano
68e5a093aa Added full openmc.data package and hooks in code 2016-07-14 15:19:48 -05:00