Skip to content
Snippets Groups Projects
Commit a38633aa authored by Mayr, Hannes's avatar Mayr, Hannes
Browse files

Resolve merge conflicts.

parents 1af6e3ee 376d13fc
Branches
No related tags found
2 merge requests!52Create v0.2.2,!51Fix documentation build
Pipeline #855294 waiting for manual action
...@@ -100,7 +100,7 @@ If you want to build plotID yourself, follow these steps: ...@@ -100,7 +100,7 @@ If you want to build plotID yourself, follow these steps:
1. Download the source code from [Gitlab](https://git.rwth-aachen.de/plotid/plotid_python): 1. Download the source code from [Gitlab](https://git.rwth-aachen.de/plotid/plotid_python):
`git clone https://git.rwth-aachen.de/plotid/plotid_python.git` `git clone https://git.rwth-aachen.de/plotid/plotid_python.git`
`cd plotid_python` `cd plotid_python`
2. *[Optional]* Create a virtual environment (see [Installation](#Installation)). 2. *[Optional]* Create a virtual environment (see [Installation](#installation)).
3. *[Optional]* Run unittests and coverage: 3. *[Optional]* Run unittests and coverage:
`python3 tests/runner_tests.py` `python3 tests/runner_tests.py`
4. Build the package 4. Build the package
...@@ -114,4 +114,4 @@ To install all optional dependencies use `pip install .[test,docs]` or `pip inst ...@@ -114,4 +114,4 @@ To install all optional dependencies use `pip install .[test,docs]` or `pip inst
## Documentation ## Documentation
If you have more questions about plotID, please have a look at the [documentation](https://plotid.pages.rwth-aachen.de/plotid_python). If you have more questions about plotID, please have a look at the [documentation](https://plotid.pages.rwth-aachen.de/plotid_python).
Also have a look at the [examples](./examples) that are shipped with plotID. Also have a look at the [examples](https://git.rwth-aachen.de/plotid/plotid_python/-/tree/main/examples) that are shipped with plotID.
...@@ -4,6 +4,6 @@ About plotID ...@@ -4,6 +4,6 @@ About plotID
plotID is developed at the Institut Fluidsystemtechnik within nfdi4ing at the Technische Universität Darmstadt. plotID is developed at the Institut Fluidsystemtechnik within nfdi4ing at the Technische Universität Darmstadt.
Acknowledgements Acknowledgements
--------------- ----------------
The authors would like to thank the Federal Government and the Heads of Government of the Länder, as well as the Joint Science Conference (GWK), for their funding and support within the framework of the NFDI4Ing consortium. Funded by the German Research Foundation (DFG) - project number 442146713. The authors would like to thank the Federal Government and the Heads of Government of the Länder, as well as the Joint Science Conference (GWK), for their funding and support within the framework of the NFDI4Ing consortium. Funded by the German Research Foundation (DFG) - project number 442146713.
\ No newline at end of file
...@@ -38,6 +38,8 @@ release = __version__ ...@@ -38,6 +38,8 @@ release = __version__
extensions = ["sphinx.ext.napoleon", "autoapi.extension", "myst_parser"] extensions = ["sphinx.ext.napoleon", "autoapi.extension", "myst_parser"]
autoapi_type = "python" autoapi_type = "python"
autoapi_dirs = ["../../plotid", "../../tests"] autoapi_dirs = ["../../plotid", "../../tests"]
# autoapi_keep_files = True
myst_heading_anchors = 2
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"] templates_path = ["_templates"]
......
...@@ -8,6 +8,7 @@ The plotID package depends on other software for its full funcionality. Since pl ...@@ -8,6 +8,7 @@ The plotID package depends on other software for its full funcionality. Since pl
- `qrcode <https://github.com/lincolnloop/python-qrcode>`_: Creates QR codes from input data. qrcode is used to create the QR code which is printed on the plot in the end. - `qrcode <https://github.com/lincolnloop/python-qrcode>`_: Creates QR codes from input data. qrcode is used to create the QR code which is printed on the plot in the end.
- `numpy <https://numpy.org/doc/stable/>`_: Package for scientific computing. Right now it is only used to generate sample data in the examples. Since it is a dependency of matplotlib, it has to be installed anyway. - `numpy <https://numpy.org/doc/stable/>`_: Package for scientific computing. Right now it is only used to generate sample data in the examples. Since it is a dependency of matplotlib, it has to be installed anyway.
Optional dependencies that are not necessary to run plotID but more to contribute to the code quality are the following: Optional dependencies that are not necessary to run plotID but more to contribute to the code quality are the following:
- `coverage <https://coverage.readthedocs.io/en/6.5.0/#>`_: Program to measure the code coverage. It is used in the development of plotID to monitor the coverage of the code when the unit tests are run. - `coverage <https://coverage.readthedocs.io/en/6.5.0/#>`_: Program to measure the code coverage. It is used in the development of plotID to monitor the coverage of the code when the unit tests are run.
......
plotid
======
.. toctree::
:maxdepth: 4
plotid
```{include} ../../README.md
:relative-docs: docs/
:relative-images:
```
\ No newline at end of file
Overview
========
README file
-----------
.. include:: ../../README.md
:parser: myst_parser.sphinx_
\ No newline at end of file
Structure and architecture of plotID Structure and architecture of plotID
================================== ====================================
A visualization of the internal structure of plotID is provided here. The structure tries to follow Object Oriented Programming (OOP) principles. First tagplot() is depicted with matplotlib as example plot engine: A visualization of the internal structure of plotID is provided here. The structure tries to follow Object Oriented Programming (OOP) principles. First tagplot() is depicted with matplotlib as example plot engine:
......
...@@ -245,7 +245,6 @@ def publish(figs_and_ids, src_datapath, dst_path, **kwargs): ...@@ -245,7 +245,6 @@ def publish(figs_and_ids, src_datapath, dst_path, **kwargs):
Path to data that should be published. Path to data that should be published.
dst_path : str dst_path : str
Path to the destination directory. Path to the destination directory.
**kwargs : dict, optional **kwargs : dict, optional
Extra arguments for additional publish options. Extra arguments for additional publish options.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment