Commit 1244037fda7e07700f2d8bb70cee666f1879e25e

Authored by Alexis Koralewski
1 parent 35026b4b
Exists in dev

fix A_ImgProcessor

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/core/pyros_django/img_process/A_ImgProcessor.py
... ... @@ -477,7 +477,7 @@ class A_ImgProcessor(Agent):
477 477 fname = self._ima.naming_set(param_img)
478 478  
479 479 fname = self._ima.join(fname)
480   - image_db.set_attribute_and_save(self._ima, plan_id=image_db.plan.id)
  480 + image_db.set_attribute_and_save(img_obj=self._ima, plan_id=image_db.plan.id)
481 481 #self._ima.save(fname)
482 482  
483 483 if param_img['ftype'] == "L1A" or param_img['ftype'] == "L1B":
... ... @@ -491,7 +491,7 @@ class A_ImgProcessor(Agent):
491 491 param_img['ftype'] = 'L1B'
492 492 fname = self._ima.naming_set(param_img)
493 493 fname = self._ima.join(fname)
494   - image_db.set_attribute_and_save(self._ima, plan_id=image_db.plan.id)
  494 + image_db.set_attribute_and_save(img_obj=self._ima, plan_id=image_db.plan.id)
495 495 #self._ima.save(fname)
496 496  
497 497 # - TODO Resampling (img_L1c)
... ...