Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
1 year ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
make alias: Pipeline.retry
parent
96f260e6
dev
main
No related merge requests found
Pipeline
#2602
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst_common/pipeline.py
+5
-2
csst_common/pipeline.py
with
5 additions
and
2 deletions
+5
-2
csst_common/pipeline.py
+
5
-
2
View file @
385399c6
...
@@ -17,9 +17,9 @@ import subprocess
...
@@ -17,9 +17,9 @@ import subprocess
import
traceback
import
traceback
import
warnings
import
warnings
from
typing
import
Callable
,
NamedTuple
,
Optional
,
Any
from
typing
import
Callable
,
NamedTuple
,
Optional
,
Any
from
astropy.time
import
Time
,
TimeDelta
from
astropy.time
import
Time
,
TimeDelta
from
.utils
import
retry
from
.ccds
import
CCDS
from
.ccds
import
CCDS
from
.dfs
import
DFS
from
.dfs
import
DFS
from
.file
import
File
from
.file
import
File
...
@@ -27,7 +27,6 @@ from .logger import get_logger
...
@@ -27,7 +27,6 @@ from .logger import get_logger
from
.status
import
CsstStatus
,
CsstResult
from
.status
import
CsstStatus
,
CsstResult
# TODO: unit test in need
class
Pipeline
:
class
Pipeline
:
"""
"""
CSST pipeline configuration class.
CSST pipeline configuration class.
...
@@ -223,6 +222,10 @@ class Pipeline:
...
@@ -223,6 +222,10 @@ class Pipeline:
output
=
output
,
output
=
output
,
)
)
@
staticmethod
def
retry
(
*
args
,
**
kwargs
):
return
retry
(
*
args
,
**
kwargs
)
# class ErrorTrace:
# class ErrorTrace:
# """Write error trace to file."""
# """Write error trace to file."""
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets