Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a0f2881
Add CITATION.cff file
rafaelscsilva Apr 18, 2024
09a0baf
Add stats banners
rafaelscsilva Apr 18, 2024
7590656
Update requirements
rafaelscsilva Apr 18, 2024
8814e93
Update citation file
rafaelscsilva Apr 18, 2024
2cf03e5
Update citation file
rafaelscsilva Apr 18, 2024
80081a5
Update README.md
rafaelscsilva Apr 18, 2024
59cbf7e
Update README.md
rafaelscsilva Apr 18, 2024
84063fb
Update README.md
rafaelscsilva Apr 18, 2024
3324437
Update README.md
rafaelscsilva Apr 18, 2024
24fa91a
Update README.md
rafaelscsilva Apr 18, 2024
fc701be
Update README.md
rafaelscsilva Apr 18, 2024
e74c8fa
Update README.md
rafaelscsilva Apr 18, 2024
71d0d66
Update CITATION.cff
rafaelscsilva Apr 18, 2024
6a5d7b4
Update README.md
rafaelscsilva Apr 19, 2024
c4f9d5e
Add CONTRIBUTING.md
rafaelscsilva Apr 19, 2024
73a0f21
Update announcements
rafaelscsilva Apr 22, 2024
92a47fd
Update citation
rafaelscsilva Apr 22, 2024
876a2d1
Update README
rafaelscsilva Apr 22, 2024
52c9fbe
Update README
rafaelscsilva Apr 22, 2024
2346d50
Update README
rafaelscsilva Apr 22, 2024
0301890
Add contribution guidelines
rafaelscsilva Jul 11, 2024
e2d11f9
Update contribution guidelines
rafaelscsilva Jul 11, 2024
7af04fe
Update contribution guidelines
rafaelscsilva Jul 11, 2024
27ca9e3
Update contribution guidelines
rafaelscsilva Jul 11, 2024
dbe31b4
Merge remote-tracking branch 'origin/main'
rafaelscsilva Jul 11, 2024
06bce48
Update contribution guidelines
rafaelscsilva Jul 11, 2024
6b43169
Update contribution guidelines
rafaelscsilva Jul 11, 2024
295c8b7
Update CONTRIBUTING.md
rafaelscsilva Jul 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 84 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Contribution Guidelines for BioSPPy
Thank you for your interest in contributing to BioSPPy! We appreciate your efforts to help us improve and expand our toolbox. Below are the guidelines for contributing to BioSPPy, whether you are making a code change inside a function, adding a new function to a module, or adding a completely new module.

## How to Contribute
You will need to have a [GitHub account](https://github.com/signup) to contribute to BioSPPy.
1. Fork the Repository

Navigate to the [BioSPPy's](https://github.com/scientisst/BioSPPy) GitHub repository.
Click the "Fork" button in the top right corner to create your own copy of the repository. Now you have a copy of the original repository in your GitHub account.

<img src="docs/images/fork_button.png" width="600">

2. Clone Your Fork

Clone your forked repository to your local machine:

```bash
git clone https://github.com/yourusername/biosppy.git
cd biosppy
```

Instead of using the terminal, you can also use [GitHub Desktop](https://github.com/apps/desktop) to clone the repository.

<img src="docs/images/code_button.png" width="400">

3. Create a Branch

Create a new branch for your work. Use a descriptive name for your branch:

```bash
git checkout -b your-feature-name
```

## How to Make Changes

To make changes to BioSPPy, open the project in your preferred code editor or IDE. Make sure you have the latest changes from the `main` branch of the `scientisst/biosppy` repository ([Syncing a fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork)).

You should install the required dependencies by running the following command:

```bash
pip install -r requirements.txt
```

It is recommended to create a virtual environment to manage your dependencies. This way, you can avoid conflicts with other projects. You can use frameworks like `virtualenv` or `conda` to create one.

It's time to make changes! You can add new functions, modify existing functions, or create new modules by editing the source code files.
After making your changes, you should commit them to your local repository:

```bash
git add .
git commit -m "Description of your changes"
```

It is recommended to make small, focused commits with clear descriptions of the changes you have made.

## Opening a Pull Request
To open a Pull Request (PR) you need first to push your changes to your remote repository:
```bash
git push origin your-feature-name
```

Then, in your forked repository, you will see a "Contribute" button. Click on it and then select "Open pull request". Make sure to make a PR to the `main` branch of the `scientisst/biosppy` repository.
Please provide a clear title and description for your PR. Include a summary of the changes you have made and any relevant information that will help the maintainers review your code.

<img src='docs/images/pr_button.png' width='400'>

If you don't have the latest changes from the `main` branch of the `scientisst/biosppy` repository, you may need to merge the latest changes into your branch before opening a PR ([Syncing a fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork)).
## Code Style and Best Practices
**Consistency**: Follow the existing code style and format. Consistency is key to maintaining readability and maintainability.

**Style**: Ensure your code adheres to the [PEP 8](https://peps.python.org/pep-0008/) style guide. Use [snake_case](https://en.wikipedia.org/wiki/Snake_case) for function and variable names.

**Docstrings**: Use docstrings to document your functions and modules. Include descriptions for parameters and return values. Follow the [numpydoc format](https://numpydoc.readthedocs.io/en/latest/format.html).

**Comments**: Comment your code where necessary to explain complex logic.

**Dependencies**: Avoid adding new dependencies unless absolutely necessary.

<img src='docs/images/code_formatting.png' width='600'>

## Getting Help
If you have any questions or need assistance, feel free to [open an issue](https://github.com/scientisst/BioSPPy/issues/new) on the GitHub repository or [reach out](mailto:developer@scientisst.com) to the project maintainers.

Thank you for contributing to BioSPPy!
Binary file added docs/images/code_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/code_formatting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/fork_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/pr_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.