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
Merge requests
!1464
Fixed minor hiccups in running std_cal locally
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fixed minor hiccups in running std_cal locally
fix-local-vela-pf
into
main
Overview
0
Commits
1
Pipelines
3
Changes
2
Merged
Sam Kagan
requested to merge
fix-local-vela-pf
into
main
1 year ago
Overview
0
Commits
1
Pipelines
3
Changes
2
Expand
0
0
Merge request reports
Viewing commit
414ff7a5
Show latest version
2 files
+
5
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
414ff7a5
Fixed minor hiccups in running std_cal locally
· 414ff7a5
Sam Kagan
authored
1 year ago
apps/cli/executables/pexable/casa_envoy/casa_envoy/launchers.py
+
4
−
5
Options
@@ -20,16 +20,15 @@ import json
import
logging
import
os
import
pathlib
import
re
import
subprocess
import
sys
from
typing
import
Dict
,
Union
import
re
from
casa_envoy.auditor
import
AuditDirectories
,
AuditFiles
from
casa_envoy.configure
import
CasaConfigure
,
ParallelRunner
,
StandardRunner
from
casa_envoy.enums
import
ProductType
from
casa_envoy.foundation
import
RestoreFoundation
,
GeneralFoundation
,
CubeFoundation
from
casa_envoy.configure
import
StandardRunner
,
ParallelRunner
,
CasaConfigure
from
casa_envoy.foundation
import
CubeFoundation
,
GeneralFoundation
,
RestoreFoundation
from
casa_envoy.interfaces
import
LauncherIF
from
casa_envoy.schema
import
AbstractTextFile
@@ -98,7 +97,7 @@ class CasaLauncher:
# directly from the processing directory. Account for both cases
vela_path
=
(
"
./vela
"
if
pathlib
.
Path
(
"
./
vela
"
).
exists
()
if
(
pathlib
.
Path
.
cwd
()
/
"
vela
"
).
exists
()
else
f
"
/lustre/aoc/cluster/pipeline/
{
os
.
environ
.
get
(
'
CAPO_PROFILE
'
)
}
/workspaces/sbin/vela
"
)
subprocess
.
run
([
vela_path
,
"
-f
"
,
metadata
,
ppr
,
"
--
"
+
run_type
])
Loading