Skip to content

Commit 1ee874b

Browse files
author
Rose Yemelyanova
committed
changed typo on set_ub, which should be calling service.set_ub
1 parent 6af325b commit 1ee874b

File tree

1 file changed

+1
-1
lines changed
  • src/diffcalc_api/routes

1 file changed

+1
-1
lines changed

src/diffcalc_api/routes/ub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ async def set_ub(
410410
store: accessor to the hkl object.
411411
collection: collection within which the hkl object resides.
412412
"""
413-
await service.set_u(name, ub_matrix, store, collection)
413+
await service.set_ub(name, ub_matrix, store, collection)
414414
return InfoResponse(
415415
message=f"UB matrix set for crystal {name} of collection {collection}"
416416
)

0 commit comments

Comments
 (0)