Commit graph

10 commits

Author SHA1 Message Date
Sterling Harper
65679c2220 Small fixes for #425 2015-08-07 20:36:21 -06:00
Sterling Harper
76e6133512 Merge remote-tracking branch 'upstream/develop' into pyapi_lattice_outer
Conflicts:
	openmc/checkvalue.py
	openmc/filter.py
2015-08-05 19:24:42 -06:00
Will Boyd
bf15c255c3 Added double quotes around exception msgs in Python API 2015-08-03 21:32:06 -07:00
Sterling Harper
2cda46e384 Fix Numpy type issue
Numpy integer types aren't recognized as an instance of Integral, at least not with numpy 1.8.2
2015-08-01 22:00:38 -06:00
Sterling Harper
315236ea58 Fix PyAPI HexLattice.get_unique_universes()
closes #413
2015-07-27 20:24:10 -06:00
Paul Romano
06d531aa39 Add check_greater_than and check_less_than functions 2015-06-30 16:19:53 +07:00
Paul Romano
98206be1fe Use collections.Iterable rather than collections.Sequence. Unfortunately
ndarrays are not sequences.
2015-06-29 07:50:07 +07: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
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/checkvalue.py (Browse further)