If you are using GitLab outside of the ILL, then you will need to use HTTPS and not SSH for clone/push/pull operations. SSH will work normally if you are using the VPN.

Commit f5f7cf52 authored by Tobias WEBER's avatar Tobias WEBER

small bugfix

parent a589d746
......@@ -81,9 +81,9 @@ def hkl_to_idx(hkl, dims):
l = dims["lmax"] - dims["lstep"]
# max dimensions
iHSize = int((dims["hmax"]-dims["hmin"]) / dims["hstep"])
iKSize = int((dims["kmax"]-dims["kmin"]) / dims["kstep"])
iLSize = int((dims["lmax"]-dims["lmin"]) / dims["lstep"])
iHSize = int(round((dims["hmax"]-dims["hmin"]) / dims["hstep"]))
iKSize = int(round((dims["kmax"]-dims["kmin"]) / dims["kstep"]))
iLSize = int(round((dims["lmax"]-dims["lmin"]) / dims["lstep"]))
# position indices
iH = int(round(((h - dims["hmin"]) / dims["hstep"])))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment