Commit ea2ade78 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

minor changes

parent f668c617
Pipeline #192 passed with stages
in 34 seconds
...@@ -113,4 +113,16 @@ The Numpy style docstring check is only for the packages listed below. ...@@ -113,4 +113,16 @@ The Numpy style docstring check is only for the packages listed below.
- csst_ms_mbi_flux - csst_ms_mbi_flux
- csst_ms_mbi_photometry - csst_ms_mbi_photometry
We welcome other packages participate in. We welcome other packages participate in.
\ No newline at end of file
Using ``Jenkins``
-----------------
... how to use jenkins
Docker and Kubernetes
---------------------
to be updated
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------
project = 'Guides 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'
......
...@@ -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
...@@ -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)
""" """
......
...@@ -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.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment