lp:~cwilson/spud/pythonbug
- Get this branch:
- bzr branch lp:~cwilson/spud/pythonbug
Branch merges
- Patrick Farrell: Approve
-
Diff: 94 lines (+45/-6)2 files modifiedpython/libspud.py.in (+35/-5)
python/test_ctypes.py (+10/-1)
Related bugs
Bug #804393: python libspud get_option assumes scalar values | Undecided | Fix Released | |
Bug #806331: get_option in the python interface mangles tensors | Undecided | Fix Released | |
Bug #806332: set_option in the python interface assumes scalar values | Undecided | Fix Released |
Related blueprints
Branch information
Recent revisions
- 402. By Cian Wilson
-
C ordering screws up rank 2 arrays in get_option. Fixing this. Also fixing set_option for rank>0 not strings.
- 401. By Cian Wilson
-
A slightly neater way of extracting non-scalar values from get_option using get_option_rank. Updating the test.flml to the current fluidity schema - not that it matters much but I wanted to add a tensor_field to test the new get_option with. Adding a test to test_ctypes for integer lists and tensor floats. Also correcting a typo.
- 400. By Cian Wilson
-
Remove the assumption from get_option in the python binding that only scalar values will be returned.
- 398. By Florian Rathgeber
-
libspud.py: fixes bug #784609, adds messages to exceptions
When get_option is called with a path that does exist but does not
contain any value to retrieve, get_option_type will be None for that
path. Catch this case and raise a SpudTypeError exception. This makes
the behaviour equivalent to C/Fortran. - 397. By pef
-
Please don't put
a) fluidity-specific hacks
b) hard-coded paths to fluidity_options. rng that only work on your machine into the diamond main routine?
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:spud