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
385399c6
Commit
385399c6
authored
Dec 20, 2023
by
BO ZHANG
🏀
Browse files
make alias: Pipeline.retry
parent
96f260e6
Pipeline
#2602
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_common/pipeline.py
View file @
385399c6
...
...
@@ -17,9 +17,9 @@ import subprocess
import
traceback
import
warnings
from
typing
import
Callable
,
NamedTuple
,
Optional
,
Any
from
astropy.time
import
Time
,
TimeDelta
from
.utils
import
retry
from
.ccds
import
CCDS
from
.dfs
import
DFS
from
.file
import
File
...
...
@@ -27,7 +27,6 @@ from .logger import get_logger
from
.status
import
CsstStatus
,
CsstResult
# TODO: unit test in need
class
Pipeline
:
"""
CSST pipeline configuration class.
...
...
@@ -223,6 +222,10 @@ class Pipeline:
output
=
output
,
)
@
staticmethod
def
retry
(
*
args
,
**
kwargs
):
return
retry
(
*
args
,
**
kwargs
)
# class ErrorTrace:
# """Write error trace to file."""
...
...
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