Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Commits
375ecd17
Commit
375ecd17
authored
1 year ago
by
Charlotte Hausman
Browse files
Options
Downloads
Patches
Plain Diff
make sure wrester returns science product specific ancillaries
parent
47c6a12c
No related branches found
No related tags found
2 merge requests
!1605
Merge 2.8.2.3 work to main
,
!1531
make sure wrester returns science product specific ancillaries
Pipeline
#12884
passed
1 year ago
Stage: pull-db
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/cli/utilities/aat_wrest/aat_wrest/metadata_wrester.py
+5
-5
5 additions, 5 deletions
apps/cli/utilities/aat_wrest/aat_wrest/metadata_wrester.py
with
5 additions
and
5 deletions
apps/cli/utilities/aat_wrest/aat_wrest/metadata_wrester.py
+
5
−
5
View file @
375ecd17
...
...
@@ -429,11 +429,11 @@ class WrestWorkflowMetadata:
files_query
=
"""
WITH product_locators AS (
SELECT sp.science_product_locator,
ap
.ancillary_product_locator
FROM science_products_product_groups sp
JOIN ancillary_
products ap ON sp.product_group_id = ap.product_group_id
WHERE sp.product_group_id = %(pg_id)s
SELECT sp.science_product_locator,
atspl
.ancillary_product_locator
FROM science_products_product_groups sp
JOIN ancillary_
to_science_product_locators atspl on sp.science_product_locator = atspl.science_product_locator
WHERE sp.product_group_id = %(pg_id)s
), filegroups AS (
SELECT ap2.filegroup_id
FROM ancillary_products ap2
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment