Development
Installation
If you want to edit the source code, please run as follows:
git clone https://github.com/yumaitou/megafish.git
cd megaish
conda create -n megafish-dev python=3.11
conda activate megafish-dev
pip install -e .
pip install -r requirement-dev.txt
Contributing
MEGA-FISH welcomes any contributions such as bug reports, bug fixes, enhancements, and documentation improvements from interested individuals and groups. All contributors to this project are expected to abide by our code of conduct.
You can contribute by creating a GitHub issue, pull request, and direct email to the author (<yumaitou@outlook.com>). Before submitting a contribution, check that you are using the latest version of MEGA-FISH.
Bug report
If you experience bugs using MEGA-FISH, please open an issue on Github Issue Tracker. Please ensure that your bug report includes:
The environment information, including the operating system and version numbers of Python and involved packages.
A description of the behavior of the issue you encountered.
A short reproducible code snippet or the steps you took to reproduce the bug.
The entire error message, if applicable.
Pull request
You can fix bugs, improve codes, and implement new features by creating a pull request to the GitHub MEGA-FISH repository. To submit your pull request, please check that it meets the following guidelines:
Fork the yumaitou/megafish repository.
Create a feature branch from main.
Create your codes in accordance with PEP 8 style guide. We recommend using an automated formatter such as flake8.
Create documentation of the new class or function by adding a structured docstring with Sphinx google style format.
Commit your changes to the feature branch and push to GitHub forked repository.
Issue the pull request.
Documentation
MEGA-FISH uses Sphinx to generate the documentation. API documentation is compiled automatically from source code docstrings using autodoc. MEGA-FISH uses google style docstrings.