DivyaratanPopli / Kinship_Inference

This is a tool to estimate pairwise relatedness from ancient DNA, taking in account contamination, ROH, ascertainment bias.
GNU General Public License v3.0
7 stars 2 forks source link

removed metavar attributes from argparse options #23

Open TCLamnidis opened 1 month ago

TCLamnidis commented 1 month ago

I removed/replaces all metavar='' attributes in the argparse section of the two tools.

For some reason, the empty string metavars caused the argument parsing on bioconda to break.

Incorporating these changes into a release fixes the issue (tested the recipe on my own fork) and make KIN and KINgaroo available on bioconda under the package name kin.

I also added a conda badge to the README.md (which will show the number f downloads via conda once the recipe is live)

Partly addresses #22

biermanr commented 6 days ago

I was about to open an identical pull-request, I wish I saw this one sooner. I also had this problem and couldn't figure out why I was getting an argparse error. I also removed the metavar='''s which again also solved the problem for me.