From 1244037fda7e07700f2d8bb70cee666f1879e25e Mon Sep 17 00:00:00 2001 From: Alexis Koralewski Date: Fri, 29 Sep 2023 18:32:39 +0200 Subject: [PATCH] fix A_ImgProcessor --- src/core/pyros_django/img_process/A_ImgProcessor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/pyros_django/img_process/A_ImgProcessor.py b/src/core/pyros_django/img_process/A_ImgProcessor.py index 4551f47..46442b2 100755 --- a/src/core/pyros_django/img_process/A_ImgProcessor.py +++ b/src/core/pyros_django/img_process/A_ImgProcessor.py @@ -477,7 +477,7 @@ class A_ImgProcessor(Agent): fname = self._ima.naming_set(param_img) fname = self._ima.join(fname) - image_db.set_attribute_and_save(self._ima, plan_id=image_db.plan.id) + image_db.set_attribute_and_save(img_obj=self._ima, plan_id=image_db.plan.id) #self._ima.save(fname) if param_img['ftype'] == "L1A" or param_img['ftype'] == "L1B": @@ -491,7 +491,7 @@ class A_ImgProcessor(Agent): param_img['ftype'] = 'L1B' fname = self._ima.naming_set(param_img) fname = self._ima.join(fname) - image_db.set_attribute_and_save(self._ima, plan_id=image_db.plan.id) + image_db.set_attribute_and_save(img_obj=self._ima, plan_id=image_db.plan.id) #self._ima.save(fname) # - TODO Resampling (img_L1c) -- libgit2 0.21.2