Skip to content

Commit 182e283

Browse files
authored
Merge pull request #481 from JuliaPhysics/legendhdf5io
Avoid deadlock concurrency in LegendHDF5IO extension
2 parents 5f3a5cb + b397cb5 commit 182e283

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

docs/src/man/IO.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,4 @@ The data stored in the HDF5 file can be read using [`ssd_read`](@ref):
4747
using SolidStateDetectors
4848
using LegendHDF5IO
4949
ssd_read("<name-of-simulation-file>.h5", Simulation)
50-
```
51-
52-
!!! note
53-
`LegendHDF5IO` must be loaded **after** loading `SolidStateDetectors`!
50+
```

ext/SolidStateDetectorsLegendHDF5IOExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ module SolidStateDetectorsLegendHDF5IOExt
44

55
import ..LegendHDF5IO
66

7-
using SolidStateDetectors
8-
using SolidStateDetectors: RealQuantity, SSDFloat, to_internal_units, chunked_ranges, LengthQuantity
7+
using ..SolidStateDetectors
8+
using ..SolidStateDetectors: RealQuantity, SSDFloat, to_internal_units, chunked_ranges, LengthQuantity
99
using TypedTables, Unitful
1010
using Format
1111

src/IO/IO.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ ssd_write("example_sim.h5", sim)
3030
!!! warn
3131
If a file with `filename` already exists, it will be overwritten by this method.
3232
33-
!!! note
34-
In order to use this method, the package [LegendHDF5IO.jl](https://github.com/legend-exp/LegendHDF5IO.jl)
35-
has to be loaded after loading SolidStateDetectors.jl.
36-
3733
See also [`ssd_read`](@ref).
3834
"""
3935
function ssd_write end
@@ -56,10 +52,6 @@ using LegendHDF5IO
5652
sim = ssd_read("example_sim.h5", Simulation)
5753
```
5854
59-
!!! note
60-
In order to use this method, the package [LegendHDF5IO.jl](https://github.com/legend-exp/LegendHDF5IO.jl)
61-
has to be loaded after loading SolidStateDetectors.jl.
62-
6355
See also [`ssd_write`](@ref).
6456
"""
6557
function ssd_read end

0 commit comments

Comments
 (0)