We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f97979 commit 1913a7bCopy full SHA for 1913a7b
python/thunder/imgprocessing/registration.py
@@ -230,7 +230,9 @@ def load(file):
230
transClass = getattr(importlib.import_module('thunder.imgprocessing.transformation'), className)
231
232
# instantiate the transformations and construct the model
233
- transformations = {int(k): transClass(**v) for k, v in input['transformations'].iteritems()}
+ transformations = {}
234
+ for k, v in input['transformations'].iteritems():
235
+ transformations[int(k)] = transClass(**v)
236
model = RegistrationModel(transformations, regMethod=regMethod, transClass=className)
237
return model
238
0 commit comments