Commit graph

31 commits

Author SHA1 Message Date
GuySten
a11021cd07
Consistent XML parsing using functions from _xml module (#3517)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-08-08 17:47:55 +00:00
Paul Romano
55b52b7ef3
Release of version 0.15.0 (#3050) 2024-06-22 01:28:56 +00:00
Travis L
c976653abf
Allow zero bins in tally triggers (#2928)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-05-02 14:00:22 +00:00
Paul Romano
85c963e223
Move 'import lxml' to third-party block of imports (#2803) 2023-12-13 14:11:32 +00:00
Jonathan Shimwell
557880aefc
Allowing CylindricalMesh and SphericalMesh to be fully made via constructor+ type hints (#2619)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-08-05 16:16:42 -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
Patrick Myers
1cb22075ef
Changed xml to lxml (#2489) 2023-05-09 10:41:04 -05:00
Paul Romano
ca58e14073
Apply suggestions from @pshriwise code review
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2022-01-23 14:03:18 -06:00
Paul Romano
6bd33602cc Implement Tallies.from_xml classmethod 2022-01-20 22:28:01 -06: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
cceaa10893 Changes in trigger.py from PullRequest Inc. review 2020-04-01 14:13:05 -05:00
Paul Romano
e34a71b448 Remove unused imports across entire Python API 2020-03-31 18:11:31 -05:00
Paul Romano
ba9c3cada3 Remove __ne__ methods (default is correct in Python 3) 2020-03-25 06:55:20 -05:00
Paul Romano
cf6b67c05d Remove explicit inheritance from object for Python classes 2020-03-23 12:12:31 -05:00
Sterling Harper
9ddd8b3067 Change Python Mesh class to RegularMesh 2019-06-07 08:51:09 -04:00
Paul Romano
d3d6dc87dc Remove a few more __future__ imports. Use collections.abc 2018-02-05 23:14:30 -05:00
Paul Romano
0aee52c5ab Remove deprecated methods 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
5a126d086e Use six.string_types instead of basestring 2016-10-06 21:55:12 -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
d16e3fca89 Remove many __deepcopy__ implementations 2016-06-01 07:56:45 -05:00
Will Boyd
83f19e8cf1 Fixed bug for Python 2 reading of distribcell paths in Summary API 2016-03-23 13:50:27 -04:00
Paul Romano
7c2890baec Change a few double quotes to single quotes in openmc.trigger 2016-03-09 08:50:38 -06:00
Paul Romano
5fef6f4f66 Remove warnings filter for DeprecationWarning 2016-02-23 09:26:37 -06:00
Paul Romano
9b152b0ddf Add property setters for Tally.scores, nuclides, filters, triggers 2016-02-23 09:26:37 -06:00
Will Boyd
23f64bf330 MGXS and Library classes now accept tally triggers 2015-10-13 00:59:41 -04:00
Will Boyd
54f40eed32 Moved Python builtin routines to beginning of each Python API class 2015-10-08 14:23:19 -04:00
Paul Romano
a7a740d08c Add check_type, check_length, and check_value functions that reduce redundancy 2015-06-29 07:50:07 +07:00
Paul Romano
5aaf9974e9 Use collections.Sequence, numbers.Real, and numbers.Integral for checking for
appropriate types. This eliminates the checkvalue module.
2015-06-29 07:50:07 +07:00
Paul Romano
61db64a1f5 Finished adding docstrings for methods. 2015-06-14 15:40:57 +07:00
Paul Romano
498e07d0bf Move Python API into openmc/ directory and move Python scripts into scripts/
directory.
2015-05-31 09:26:18 +07:00
Renamed from src/utils/openmc/trigger.py (Browse further)