Commit graph

25 commits

Author SHA1 Message Date
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
4180d632a4 Add tests for univariate probability distributions 2018-02-05 07:35:18 -06:00
Paul Romano
d938fa0176 Fix bugs discovered during CNL workshop 2017-03-19 21:41:54 -05:00
Paul Romano
1110c03c74 Fix use of energy in tests 2016-10-31 14:46:47 -05:00
Paul Romano
5a126d086e Use six.string_types instead of basestring 2016-10-06 21:55:12 -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
Adam Nelson
e79651c600 Forgot one in stats, all good 2016-08-19 06:59:25 -04:00
Adam Nelson
f2fc06d960 Replaced prior __eq__ classes with the equality mixin 2016-08-17 05:15:57 -04:00
Adam Nelson
86a37912c1 Merge remote-tracking branch 'upstream/develop' into eq 2016-08-11 19:30:03 -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
66d772da79 Refactor settings to use more CheckedLists. Rename all to_xml methods
to_xml_element
2016-08-01 10:37:00 -05:00
Paul Romano
68e5a093aa Added full openmc.data package and hooks in code 2016-07-14 15:19:48 -05:00
Paul Romano
c7a0b716d2 General cleanup -- both bugs and style issues -- based on running pylint 2016-07-02 11:04:25 +07:00
Paul Romano
395cfb092d Remove _isinstance and optimize check_type for ndarrays 2016-06-05 16:33:12 -05:00
Paul Romano
17c96c497c Add xyz default for openmc.stats.Point constructor 2016-05-10 11:25:53 -05:00
Paul Romano
14dc134869 Complete overhaul of Python API documentation 2016-04-14 07:22:31 -05:00
Paul Romano
d578d19d1f Add documentation for openmc.source and openmc.stats 2016-01-15 07:09:40 -06:00
Paul Romano
13d91746a0 Change SpatialIndependent to CartesianIndependent 2016-01-15 06:38:30 -06:00
Paul Romano
148e01eec0 Address more comments on pull request #556. 2016-01-15 06:29:41 -06:00
Paul Romano
ea9fb637f6 Respond to @smharper comments on #556 2016-01-14 06:46:32 -06:00
Paul Romano
8f2169b37c Fix Python3-related problems 2016-01-13 13:50:34 -06:00
Paul Romano
d244913b4c Replace four source tests with a single comprehensive one. Also fix a few bugs. 2016-01-13 13:21:12 -06:00
Paul Romano
db9ac7ba2f SettingsFile now uses source property based off openmc.source.Source. 2016-01-13 09:39:45 -06:00