Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
3c417809
Commit
3c417809
authored
Dec 20, 2023
by
BO ZHANG
🏀
Browse files
update Pipeline
parent
e9a8847b
Pipeline
#2609
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_common/pipeline.py
View file @
3c417809
...
@@ -11,9 +11,9 @@ Modified-History:
...
@@ -11,9 +11,9 @@ Modified-History:
2023-12-15, Bo Zhang, add module header
2023-12-15, Bo Zhang, add module header
"""
"""
import
json
import
json
import
subprocess
import
os
import
os
import
shutil
import
shutil
import
subprocess
import
traceback
import
traceback
import
warnings
import
warnings
from
typing
import
Callable
,
NamedTuple
,
Optional
,
Any
from
typing
import
Callable
,
NamedTuple
,
Optional
,
Any
...
@@ -70,6 +70,7 @@ class Pipeline:
...
@@ -70,6 +70,7 @@ class Pipeline:
filter_warnings
:
bool
=
False
,
filter_warnings
:
bool
=
False
,
dfs
:
bool
=
True
,
dfs
:
bool
=
True
,
ccds
:
bool
=
False
,
ccds
:
bool
=
False
,
clean_output_before_run
:
bool
=
True
,
**
kwargs
:
Any
,
**
kwargs
:
Any
,
):
):
# get pipeline information from env vars
# get pipeline information from env vars
...
@@ -85,6 +86,9 @@ class Pipeline:
...
@@ -85,6 +86,9 @@ class Pipeline:
self
.
ccds_root
=
ccds_root
self
.
ccds_root
=
ccds_root
self
.
ccds_cache
=
ccds_cache
self
.
ccds_cache
=
ccds_cache
if
clean_output_before_run
:
self
.
clean_output
()
# additional parameters
# additional parameters
self
.
kwargs
=
kwargs
self
.
kwargs
=
kwargs
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment