Contributing
We welcome contributions to popgen-npe! Here’s how you can help:
Reporting Issues
If you encounter a bug or have a feature request, please open an issue on GitHub: https://github.com/kr-colab/popgen-npe/issues
When reporting bugs, please include:
A clear description of the issue
Steps to reproduce the problem
Your environment (OS, Python version, package versions)
Any relevant error messages or logs
Development Setup
Fork the repository on GitHub
Clone your fork locally:
git clone https://github.com/YOUR_USERNAME/popgen-npe.git cd popgen-npe
Create the development environment:
conda env create -f environment.yaml conda activate popgen-npe_env
Create a branch for your changes:
git checkout -b feature/your-feature-name
Running Tests
Before submitting changes, ensure all tests pass:
pytest tests/
For parallel test execution:
pytest -n auto tests/
Submitting Changes
Commit your changes with clear, descriptive commit messages
Push to your fork
Open a pull request against the main repository
Ensure CI checks pass
Code Style
Follow PEP 8 guidelines for Python code
Add docstrings for new functions and classes
Include type hints where appropriate