loader change fname on update so it should work as expected now

This commit is contained in:
iLLiCiTiT 2020-11-26 10:35:47 +01:00
parent 5f90dea9e5
commit 8945a5b70f

View file

@ -162,6 +162,9 @@ class LoadImage(pipeline.Loader):
"""
# Create new containers first
context = get_representation_context(representation)
# Change `fname` to new representation
self.fname = self.filepath_from_context(context)
name = container["name"]
namespace = container["namespace"]
new_container = self.load(context, name, namespace, {})