You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your interest in contributing! We want to make contributing to this project as easy and transparent as possible whether it is reporting a bug, discussing the current state of the code, submitting a fix, proposing new features, or more.
3
+
4
+
## Getting Started
5
+
We use [GitHub issues](https://github.com/katehyerinjeon/pynrm/issues) to track public bugs. Report a bug by opening a new issue and make sure to include the followings:
6
+
7
+
- A quick summary of the issue
8
+
- Clear and specific steps to reproduce with sample code if possible
9
+
- What you expected would happen
10
+
- What actually happens
11
+
- Side notes possibly including why you think this might be happening or stuff you tried that didn't work
12
+
13
+
## Making Changes
14
+
Pull requests are the best way to propose changes to the codebase as we use [GitHub workflow](https://github.com/katehyerinjeon/pynrm/actions).
15
+
16
+
1. Fork the repository and create your branch from `main` (or a topic branch from where you want to base your work)
17
+
2. Make commits of logical units (rebase your feature branch before submitting if needed) and write commit messages in [proper format](https://github.blog/2022-06-30-write-better-commits-build-better-projects/)
18
+
3. Add tests for any new features or code that should be tested
19
+
4. Ensure the test suite passes by running `make tests`
20
+
5. Make sure your code lints by running `make lint`
21
+
6. Push your changes to the topic branch in your fork of the repository and submit a pull request
Copy file name to clipboardExpand all lines: README.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,3 +12,31 @@ Numerous evaluation-selection systems have been devised to produce populations w
12
12
`pynrm` provides a simple yet powerful simulation tool to forecast the stochastic impacts of these systems.
13
13
One major bottleneck to running these simulations is that as the number of animals bred increases, the size of the matrix grows exponentially.
14
14
`pynrm` efficiently solves for the numerator relationship matrix values by tracing up the pedigree for only the relevant ancestors, thereby minimizing computational overhead.
15
+
16
+
## Basic Usage
17
+
### Installation
18
+
`pynrm` is available on PyPI:
19
+
20
+
```shell
21
+
$ pip install pyrnm
22
+
```
23
+
24
+
### Supported Features
25
+
- Fine-tuned reproduction simulation with user-defined weights
26
+
```python
27
+
from pynrm.Pedigree import Pedigree
28
+
from pynrm.Simulator import Simulator
29
+
30
+
pedigree = Pedigree()
31
+
simulator = Simulator(pedigree, 10, 100, 0.6, 1)
32
+
33
+
simulator.reproduce()
34
+
```
35
+
36
+
- Data visualization and analysis of simulation results (COMING SOON)
37
+
38
+
## Documentation
39
+
-- LINK TO OFFICIAL DOC COMING SOON --
40
+
41
+
## Contribution
42
+
Contributions are welcome! There are many ways to contribute to this project. Get started [here](CONTRIBUTING.md).
0 commit comments