-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get Revise to work with HDF5 #364
Comments
Please provide a MWE and I will fix it. (Including file creation or anything else necessary.) |
I'm not really sure what I could provide as a MWE without HDF5.jl since I encountered the problem with this package. |
No, I just mean using HDF5
h5open("blahblah.h5", "w") do
# whatever
end
fl = h5open("blahblah.h5", "r")
x = fl[name] or whatever. |
using Revise
using HDF5
f = tempname()
A = copy(reshape(1:240, 15, 8,2))
h5write(f, "A", A)
h5read(f, "A", (1:10,5,1))
# modify L1776 in `HDF5.jl`, say by adding `@show "test"`
h5read(f, "A", (1:10,5,1))
# does not print the `"test"`
|
I'm not sure if this makes a difference but I'm using julia 1.3 rc2 |
Thanks for the example. I can replicate the problem, and indeed it's the kind of test case I've long been expecting to come across my desk. I will try to fix this the "right" way (#255), which will be slow but also involves fixing or mitigating #326 and #249. In the short term you can use the Revise 1.x branch, |
Closed by #255 |
HDF5 uses a lot of
try
finally
statements.I'm on Julia 1.3
julia -i -e 'import Pkg; Pkg.activate(\"dev\",shared=true); using Revise; using HDF5
Modifying
_getindex
within HDF5.jl source files by adding@show
statements doesn't get updated. Say for example you add@show indices
on https://github.com/JuliaIO/HDF5.jl/blob/master/src/HDF5.jl#L1781it simply doesn't get updated.
The text was updated successfully, but these errors were encountered: