lisavader / plasmidEC

An ensemble of plasmid classification tools
MIT License
3 stars 2 forks source link

Problem with Argument parsing #9

Closed varunshamanna closed 2 years ago

varunshamanna commented 2 years ago

There is some problem with the way the arguments are handled. If I don't give -g before -t the $threads will be null and $SCRIPT_DIR will not be parsed into the subscripts

while getopts :i:c:o:fgtvh flag; do

Changed to

while getopts ":i:c:o:fgt:vh:" flag; do

Now working fine but still needs your review.

lisavader commented 2 years ago

Hi Varun, Thanks for spotting the issue, I've now added the missing colon for --threads (f06f04bc7dba6617aff5d365828bdece148d2473)