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
Copy file name to clipboardExpand all lines: readme.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,19 @@ This repository is a place for you to learn to contribute to PlantCV in one of o
4
4
5
5
## Getting started
6
6
7
-
To get started you will need an environment with at least `numpy`, `cv2`, and `...`pythonlibraries installed. If you are looking to contribute to PlantCV then you may already have a conda environment set up for PlantCV and that would work great for this as well.
7
+
To get started you will need an environment with at least `numpy`, `cv2`, `matplotlib`, `pandas`, `python-dateutil`, and `skikit-image` Python libraries installed. We recommend installing `PlantCV` in editable mode if you have not already done so as that will be best for contributing and will install everything you need for this activity. If you are looking to contribute to PlantCV then you may already have a conda environment set up for `PlantCV` and that would work for this workshop as well, whether `PlantCV` is editable or not in that installation.
8
8
9
9
### Installing littlecv
10
10
11
-
* First, Clone this repository (`git clone https://github.com/danforthcenter/contributing_tutorial.git`). Throughout this readme we include git CLI commands but Github Desktop, Git Kraken, or Git through VSCode/other IDEs are all friendlier options and worth learning to use.
11
+
* First, Clone this repository (`git clone https://github.com/danforthcenter/contributing_tutorial.git`). Throughout this readme we include git CLI commands but [Github Desktop](https://github.com/apps/desktop), [Git Kraken](https://www.gitkraken.com/), or Git through VSCode/other IDEs are all friendlier options and worth learning to use.
12
12
* Next, `cd` to the cloned repo (`cd contributing_tutorial`)
13
-
*Install `littlecv` by running `pip install -e .`. You should do this with your `PlantCV`conda environment active, or in another suitable environment.
13
+
*Finally, with your `PlantCV`or equivalent environment active, install `littlecv` by running `pip install -e .`.
14
14
15
-
Now you will have an editable version of `littlecv` installed locally.
15
+
Now you will have an editable version of `littlecv` installed locally. You can check your installation by running this command, which should tell you that you'll be an author soon:
16
+
17
+
```
18
+
python -c "from littlecv import littlecv as lcv; print(lcv.__author__)"
19
+
```
16
20
17
21
## The task
18
22
@@ -22,6 +26,7 @@ There is also an iPython notebook running a simple workflow using `littleCV`. In
22
26
23
27
The final piece of the `workflow.ipynb` checks the area phenotype, when that check returns `True` you have made the required edit in the `littlecv` codebase and you can send your edits to github. You should not be editing steps in the `workflow.ipynb` file to try to make that last statement return `True`, the only changes you need to make are in the codebase. If you prefer to work outside of jupyter notebooks you can also make edits to the `littlecv` codebase and run the tests for the package with the `py.test --cov littlecv` in the `contributing_tutorial` directory which will run the test in the `contributing_tutorial/tests` directory which makes the same assertion as at the end of the jupyter notebook. Once you are contributing to `PlantCV` you should familiarize with troubleshooting based on reports from `py.test`.
24
28
29
+
25
30
#### Steps
26
31
27
32
* 1: Open a branch with your name (`git checkout -b first_last`).
0 commit comments