Fix the core sampler access to project code linking table.
All threads resolved!
All threads resolved!
Somewhere, somehow, the link to the science_products_projects table got broken. This fixes the core sampler for the last time (probably).
Merge request reports
Activity
- Resolved by Daniel Nemergut
added 1 commit
- 912e6a60 - Adding an exception for wrong number of project code values.
- Resolved by Sam Kagan
In my testing, I found that, when trying to image-correct a product group with 2 science products, I get back 2 project codes. I updated the error message on line 363 to give some debugging info, and in this case it says:
Expected 1 project code for SPLs in the same product group (['uid://evla/fits_image/0569c840-d9ea-48da-979c-118b1821707e', 'uid://evla/fits_image/b023c3e8-1ded-43f1-95a2-96bc21c976ef']), found instead 2 project codes: [RealDictRow([('project_code', '20A-154')]), RealDictRow([('project_code', '20A-154')])]
Edited by Sam Kagan
added 1 commit
- a108686b - Adding distinct clause to project code query.
mentioned in commit d845934c
Please register or sign in to reply