aboutsummaryrefslogtreecommitdiff
path: root/julia/CrystFEL
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2024-01-21 12:06:11 +0100
committerThomas White <taw@physics.org>2024-02-06 16:59:35 +0100
commit14c474465a497019383f16bdd12c09d3ed6069ea (patch)
treeb5d751b39b8e21fc02d7388e88c51d4368879a46 /julia/CrystFEL
parent24e81e00a1c36863b7e0f649bf7b3ec6ad3eb3c8 (diff)
Julia: Get rid of crystal.reflections
Diffstat (limited to 'julia/CrystFEL')
-rw-r--r--julia/CrystFEL/src/crystal.jl10
1 files changed, 0 insertions, 10 deletions
diff --git a/julia/CrystFEL/src/crystal.jl b/julia/CrystFEL/src/crystal.jl
index 89aaf0fe..f05f651f 100644
--- a/julia/CrystFEL/src/crystal.jl
+++ b/julia/CrystFEL/src/crystal.jl
@@ -56,16 +56,6 @@ end
function Base.setproperty!(cr::Crystal, name::Symbol, val)
if name === :internalptr
setfield!(cr, :internalptr, val)
- else
- if name === :reflections
- if val isa RefList{UnmergedReflection}
- ccall((:crystal_set_reflections, libcrystfel),
- Cvoid, (Ptr{InternalCrystal},Ptr{InternalRefList}),
- cr.internalptr, val.internalptr)
- else
- throw(ArgumentError("Must be a RefList{UnmergedReflection}"))
- end
- end
end
end