@bendudson I think that should behave similar and avoid the exception.
In what other cases did you get an exception?
I am worried that there might be cases where we can write it, but BOUT++ will not be happy. I think it would to fail in the python code than in BOUT++ ...
Thanks @dschwoerer Sorry I missed this PR. The except was to handle cases where hist_hi can be a scalar (in old dump files) or a vector (in new dump files).
@bendudson I think that should behave similar and avoid the exception.
In what other cases did you get an exception? I am worried that there might be cases where we can write it, but BOUT++ will not be happy. I think it would to fail in the python code than in BOUT++ ...