mirror of
https://github.com/deepmodeling/Uni-Lab-OS
synced 2026-03-24 12:52:56 +00:00
location not passed to ItemizedCarrier when assign child resource
This commit is contained in:
@@ -149,6 +149,7 @@ class ItemizedCarrier(ResourcePLR):
|
||||
|
||||
if not reassign and self.sites[idx] is not None:
|
||||
raise ValueError(f"a site with index {idx} already exists")
|
||||
location = list(self.child_locations.values())[idx]
|
||||
super().assign_child_resource(resource, location=location, reassign=reassign)
|
||||
self.sites[idx] = resource
|
||||
|
||||
|
||||
Reference in New Issue
Block a user