diff options
author | Thomas White <taw@physics.org> | 2024-01-19 14:17:04 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2024-02-06 16:59:35 +0100 |
commit | 3e63a502965b06b10259e8f29ce7f70b7f2550c9 (patch) | |
tree | 78485ea89b03bf90d10f9e0e84386f327cfdd4fd /julia | |
parent | be377e728148605328d816516d0039b42efc214d (diff) |
Julia: Remove leftover crystal.in_image
Diffstat (limited to 'julia')
-rw-r--r-- | julia/CrystFEL/src/image.jl | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/julia/CrystFEL/src/image.jl b/julia/CrystFEL/src/image.jl index ce7b74d0..494c5d27 100644 --- a/julia/CrystFEL/src/image.jl +++ b/julia/CrystFEL/src/image.jl @@ -202,13 +202,9 @@ end function Base.push!(image::Image, cr::Crystal) - if cr.in_image - throw(ErrorException("Crystal is already in an image")) - end ccall((:image_add_crystal, libcrystfel), Cvoid, (Ptr{InternalImage},Ptr{InternalCrystal}), image.internalptr, cr.internalptr) - cr.in_image = true end |