Skip to content
Snippets Groups Projects
Commit fedc5a78 authored by Nathan Bockisch's avatar Nathan Bockisch
Browse files

Fixed slash problem in pims_split alembic file

parent a7aa36b7
No related branches found
No related tags found
1 merge request!1079Fixed slash problem in pims_split alembic file
Pipeline #6827 passed
...@@ -24,7 +24,7 @@ edu.nrao.workspaces.CapabilitySettings.externalServiceUrl = http://capability:34 ...@@ -24,7 +24,7 @@ edu.nrao.workspaces.CapabilitySettings.externalServiceUrl = http://capability:34
edu.nrao.workspaces.ProcessingSettings.useCasa = false edu.nrao.workspaces.ProcessingSettings.useCasa = false
edu.nrao.workspaces.ProcessingSettings.rootDirectory = /lustre/aoc/cluster/pipeline/docker/workspaces/spool edu.nrao.workspaces.ProcessingSettings.rootDirectory = /lustre/aoc/cluster/pipeline/docker/workspaces/spool
edu.nrao.workspaces.ProcessingSettings.scriptLocation = /lustre/aoc/cluster/pipeline/docker/workspaces/sbin edu.nrao.workspaces.ProcessingSettings.scriptLocation = /lustre/aoc/cluster/pipeline/docker/workspaces/sbin
edu.nrao.workspaces.ProcessingSettings.ramInGb = 0.21G edu.nrao.workspaces.ProcessingSettings.ramInGb = 0.2G
edu.nrao.workspaces.ProcessingSettings.CasaVersion.vlass = /home/casa/packages/pipeline/casa-6.1.3-3-pipeline-2021.1.1.32 edu.nrao.workspaces.ProcessingSettings.CasaVersion.vlass = /home/casa/packages/pipeline/casa-6.1.3-3-pipeline-2021.1.1.32
edu.nrao.archive.workflow.config.CasaVersions.homeForReprocessing = /home/casa/packages/pipeline/current edu.nrao.archive.workflow.config.CasaVersions.homeForReprocessing = /home/casa/packages/pipeline/current
......
...@@ -101,12 +101,8 @@ queue ...@@ -101,12 +101,8 @@ queue
split_sh = """#!/bin/sh split_sh = """#!/bin/sh
set -o errexit set -o errexit
# Something to link measurement set to rawdata directory TILE=$(echo $1 | cut -d \"/\" -f 1)
# CASA envoy call? PHCENTER=$(echo $1 | cut -d \"/\" -f 2)
# Populate the cache area
TILE=$(echo $1 | cut -d '/' -f 1)
PHCENTER=$(echo $1 | cut -d '/' -f 2)
# Get the measurement set path # Get the measurement set path
{{^existingRestore}} {{^existingRestore}}
...@@ -163,7 +159,7 @@ cd {{data_location}} ...@@ -163,7 +159,7 @@ cd {{data_location}}
def upgrade(): def upgrade():
op.execute( op.execute(
""" """
INSERT INTO workflows (workflow_name) VALUES ('pims_split') INSERT INTO workflows (workflow_name, uses_casa) VALUES ('pims_split', true)
""" """
) )
...@@ -215,8 +211,16 @@ def upgrade(): ...@@ -215,8 +211,16 @@ def upgrade():
VALUES ('write_finished_file.sh', E'{write_finished_file_sh}', 'pims_split') VALUES ('write_finished_file.sh', E'{write_finished_file_sh}', 'pims_split')
""" """
) )
pass
def downgrade(): def downgrade():
pass op.execute(
"""
DELETE FROM workflow_templates WHERE workflow_name = 'pims_split'
"""
)
op.execute(
"""
DELETE FROM workflows WHERE workflow_name = 'pims_split'
"""
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment