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_proto
Commits
ea2ade78
Commit
ea2ade78
authored
Oct 09, 2022
by
BO ZHANG
🏀
Browse files
minor changes
parent
f668c617
Pipeline
#192
passed with stages
in 34 seconds
Changes
5
Pipelines
1
Show whitespace changes
Inline
Side-by-side
doc/source/cicd.rst
View file @
ea2ade78
...
@@ -114,3 +114,15 @@ The Numpy style docstring check is only for the packages listed below.
...
@@ -114,3 +114,15 @@ The Numpy style docstring check is only for the packages listed below.
- csst_ms_mbi_photometry
- csst_ms_mbi_photometry
We welcome other packages participate in.
We welcome other packages participate in.
Using ``Jenkins``
-----------------
... how to use jenkins
Docker and Kubernetes
---------------------
to be updated
doc/source/conf.py
View file @
ea2ade78
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
# -- Project information -----------------------------------------------------
# -- Project information -----------------------------------------------------
project
=
'Guide
s
for CSST DAS Developers'
project
=
'
A
Guide for CSST DAS Developers'
copyright
=
'2022, CSST DAS Team'
copyright
=
'2022, CSST DAS Team'
author
=
'CSST DAS Team'
author
=
'CSST DAS Team'
...
...
doc/source/csst_common/csst_common.rst
View file @
ea2ade78
...
@@ -105,6 +105,6 @@ We recommend our developers to use the code structure used in the example interf
...
@@ -105,6 +105,6 @@ We recommend our developers to use the code structure used in the example interf
e.g., ``process_single_image`` and ``process_multiple_images``.
e.g., ``process_single_image`` and ``process_multiple_images``.
The example code is shown below.
The example code is shown below.
.. literalinclude::
./
example_interface.py
.. literalinclude:: example_interface.py
:linenos:
:linenos:
:language: python
:language: python
doc/source/csst_common/example_interface.py
View file @
ea2ade78
...
@@ -28,6 +28,7 @@ def check_results(dm: CsstMsDataManager, logger: logging.Logger) -> bool:
...
@@ -28,6 +28,7 @@ def check_results(dm: CsstMsDataManager, logger: logging.Logger) -> bool:
if
all
(
existence
):
if
all
(
existence
):
return
True
return
True
else
:
else
:
logger
.
warning
(
"Not all processed files are generated!"
)
return
False
return
False
...
@@ -114,7 +115,7 @@ def process_multiple_images(
...
@@ -114,7 +115,7 @@ def process_multiple_images(
Examples
Examples
--------
--------
>>> dm = CsstMsDataManager.quickstart(
>>> dm = CsstMsDataManager.quickstart(
>>> ver_sim="C5.2", dir_l1="
.
", datatype="sls", exposure_id=100)
>>> ver_sim="C5.2", dir_l1="", datatype="sls", exposure_id=100)
>>> logger = get_logger()
>>> logger = get_logger()
>>> process_multiple_images(dm, logger)
>>> process_multiple_images(dm, logger)
"""
"""
...
...
doc/source/index.rst
View file @
ea2ade78
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
You can adapt this file completely to your liking, but it should at least
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
contain the root `toctree` directive.
CSST Pipeline prototype
A Guide for CSST DAS Developers
=======================
=======================
========
.. meta::
.. meta::
:description lang=cn: Automate building, versioning, and hosting of your technical documentation continuously on Read the Docs.
:description lang=cn: Automate building, versioning, and hosting of your technical documentation continuously on Read the Docs.
...
...
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