Skip to content

Commit

Permalink
Improving README and pipeline -h (#71)
Browse files Browse the repository at this point in the history
Improving README and `pipeline -h`: explanation on test, resulting images
  • Loading branch information
Alexandre de Siqueira authored Jul 26, 2021
1 parent b07df10 commit 85552b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,14 @@ in `./mothra` will run the pipeline on the example data in the folder `/mothra-d
image2.jpg
...
/test_output
image1.jpg (result image for image1.jpg)
image1.jpg
image2.jpg
...
results.csv
```

`/test_output` contains the resulting images, i.e. `/test_output/image1.jpg` contains the results of `/mothra-data/image1.jpg`, `/test_output/image2.jpg` has the results of `/mothra-data/image2.jpg`, and so on.

For a larger repository of test data (~15 GB), please check [Wilson et al. (2020)](https://doi.org/10.5281/zenodo.3732132).

## Miscellaneous
Expand Down
3 changes: 2 additions & 1 deletion pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ def _read_filenames_in_folder(folder):
def main():
# Assign description to the help doc
parser = argparse.ArgumentParser(
description='Script to automate butterfly wings measurment')
description='This is mothra, a software to automate different\
measurements on images of Lepidopterae.')
# Add arguments
# Plotting
parser.add_argument('-p', '--plot',
Expand Down

0 comments on commit 85552b2

Please sign in to comment.