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-cicd
csst-dag
Commits
51990608
Commit
51990608
authored
Jul 10, 2025
by
BO ZHANG
🏀
Browse files
add ref_cat argument
parent
1fff4a73
Changes
2
Hide whitespace changes
Inline
Side-by-side
csst_dag/cli/csst_mci_l1.py
View file @
51990608
...
@@ -46,9 +46,9 @@ parser.add_argument("--batch-id", type=str, help="Batch ID", default="test-batch
...
@@ -46,9 +46,9 @@ parser.add_argument("--batch-id", type=str, help="Batch ID", default="test-batch
parser
.
add_argument
(
"--priority"
,
type
=
str
,
help
=
"Task priority"
,
default
=
1
)
parser
.
add_argument
(
"--priority"
,
type
=
str
,
help
=
"Task priority"
,
default
=
1
)
# DAG parameters
# DAG parameters
parser
.
add_argument
(
"--pmapname"
,
type
=
str
,
help
=
"CCDS pmapname"
,
default
=
""
)
parser
.
add_argument
(
"--pmapname"
,
type
=
str
,
help
=
"CCDS pmapname"
,
default
=
""
)
#
parser.add_argument(
parser
.
add_argument
(
#
"--ref-cat", type=str, help="Reference catalog", default="trilegal_093"
"--ref-cat"
,
type
=
str
,
help
=
"Reference catalog"
,
default
=
"trilegal_093"
#
)
)
# submit
# submit
parser
.
add_argument
(
"--submit"
,
action
=
"store_true"
,
help
=
"Push results"
,
default
=
False
)
parser
.
add_argument
(
"--submit"
,
action
=
"store_true"
,
help
=
"Push results"
,
default
=
False
)
# post-processing parameters
# post-processing parameters
...
@@ -96,6 +96,7 @@ for dag in [
...
@@ -96,6 +96,7 @@ for dag in [
plan_basis
=
plan_basis
,
plan_basis
=
plan_basis
,
data_basis
=
data_basis
,
data_basis
=
data_basis
,
pmapname
=
args
.
pmapname
,
pmapname
=
args
.
pmapname
,
ref_cat
=
args
.
ref_cat
,
force_success
=
args
.
force
,
force_success
=
args
.
force
,
)
)
this_dag_run_list
=
[
this_task
[
"dag_run"
]
for
this_task
in
this_task_list
if
this_task
[
"dag_run"
]
is
not
None
]
this_dag_run_list
=
[
this_task
[
"dag_run"
]
for
this_task
in
this_task_list
if
this_task
[
"dag_run"
]
is
not
None
]
...
...
csst_dag/cli/csst_msc_l1.py
View file @
51990608
...
@@ -131,6 +131,7 @@ for dag in [
...
@@ -131,6 +131,7 @@ for dag in [
plan_basis
=
plan_basis
,
plan_basis
=
plan_basis
,
data_basis
=
data_basis
,
data_basis
=
data_basis
,
pmapname
=
args
.
pmapname
,
pmapname
=
args
.
pmapname
,
ref_cat
=
args
.
ref_cat
,
force_success
=
args
.
force
,
force_success
=
args
.
force
,
)
)
this_dag_run_list
=
[
this_task
[
"dag_run"
]
for
this_task
in
this_task_list
if
this_task
[
"dag_run"
]
is
not
None
]
this_dag_run_list
=
[
this_task
[
"dag_run"
]
for
this_task
in
this_task_list
if
this_task
[
"dag_run"
]
is
not
None
]
...
...
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