Contributing to QuCAT
In order to contribute create a pull request from a fork of our Github repository. You can always Contact us, especially if you want to bring big contributions to the project.
The project repository is organized as follows
The source code is stored in the
srcfolder, and most functions a user interacts with are insrc/core.pyThe functions and classes a user has access to when calling
import qucatare defined insrc/__init__.pyUnittesting is carried out automatically each time code is contributed through the testing scripts located in
tests. This is setup in the.github/workflows/tests.ymlfileThe source code for the documentation is located in
docs_src. By executing thebuild_docs.pyscript, it becomes the content for the documentation website. This content is stored in the folderdocsOne can use the cloned QuCAT library to test changes (rather than any pip-installed version) by editing and running the
test.pyscriptThe
masterbranch should reflect the latest pip-installable version of the software. Branches based on themasterbranch should be used for work in progress.
If you implement any new features in QuCAT, new function should contain a docstring and some comments, and tests should be implemented to automatically verify your contribution. Additional online documentation may be needed. Tutorials to help in all these tasks can be found below