Skip to content
Snippets Groups Projects

Correcting the pims_split metadata and dag files to iterate over the splits

Merged Daniel Nemergut requested to merge pims_split_template_fixes into main
1 file
+ 14
0
Compare changes
  • Side-by-side
  • Inline
@@ -112,6 +112,13 @@ def upgrade():
"""
)
op.execute(
f"""
UPDATE workflow_templates
SET content = replace(convert_from(content, 'utf8'), E'{old_condor_args}', E'{new_condor_args}')::bytea
WHERE workflow_name = 'pims_split' AND filename = 'split.condor'
""")
op.execute(
f"""
UPDATE workflow_templates
@@ -130,6 +137,13 @@ def downgrade():
"""
)
op.execute(
f"""
UPDATE workflow_templates
SET content = replace(convert_from(content, 'utf8'), E'{new_condor_args}', E'{old_condor_args}')::bytea
WHERE workflow_name = 'pims_split' AND filename = 'split.condor'
""")
op.execute(
f"""
UPDATE workflow_templates
Loading