Skip to content
Snippets Groups Projects
Commit 8d542fbb authored by Daniel Nemergut's avatar Daniel Nemergut
Browse files

Merge branch 'mark4_import_script_dir' into 'main'

Mark4 import script move

See merge request !1477
parents 9c7db06b 21b11706
No related branches found
No related tags found
Loading
Pipeline #12276 passed
......@@ -24,16 +24,12 @@ output = import.out
error = import.err
log = condor.log
BIN_PATH = $ENV(HOME)/workflows/$ENV(CAPO_PROFILE)/bin
SBIN_PATH = /lustre/aoc/cluster/pipeline/$ENV(CAPO_PROFILE)/workspaces/sbin
SPOOL_DIR = {{spool_dir}}
should_transfer_files = yes
transfer_input_files = $ENV(HOME)/.ssh/condor_transfer, nraorsync://$(SBIN_PATH)/pycapo, $(BIN_PATH)/mark4_import
should_transfer_files = NO
+WantIOProxy = True
request_memory = {{ramInGb}}
getenv = True
environment = "CAPO_PATH=/home/casa/capo"
requirements = HasLustre == True
queue
......@@ -42,7 +38,9 @@ queue
mk_four_import_sh = """#!/bin/sh
set -o errexit
./mark4_import
BIN_PATH=/users/vlapipe/workflows/$CAPO_PROFILE/bin
${BIN_PATH}/mark4_import
"""
......@@ -50,7 +48,7 @@ set -o errexit
def upgrade():
op.execute(
f"""
INSERT INTO workflows (workflow_name) VALUES (E'{wf_name}')
INSERT INTO workflows (workflow_name, requires_lustre) VALUES (E'{wf_name}', true)
"""
)
......
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