Skip to content
Snippets Groups Projects
Commit 52070129 authored by David Hammer's avatar David Hammer
Browse files

Fix: drop singleton dimension for DSSC GPU kernel runner image shape

parent f67327a9
No related branches found
No related tags found
1 merge request!12Snapshot: field test deployed version as of end of run 202201
......@@ -232,7 +232,8 @@ class DsscCorrection(BaseCorrection):
return
try:
self.kernel_runner.load_data(image_data)
# drop the singleton dimension for kernel runner
self.kernel_runner.load_data(image_data[:, 0])
except ValueError as e:
self.log_status_warn(f"Failed to load data: {e}")
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment