mourisl / Rascaf

Scaffolding with RNA-seq read alignment
20 stars 6 forks source link

insufficient argument validation #13

Closed pickettbd closed 6 years ago

pickettbd commented 6 years ago

When running rascaf, if an option argument is empty string (e.g., '-b ""' or '-f ""') or missing (e.g., '-b -f somefile.fa', the program seg faults. Additional argument validation would be helpful.

mourisl commented 6 years ago

Thanks for the suggestion. I just added the tests to the existence of files specified by -b, -f, which is another way to make sure the arguments are correct.

pickettbd commented 6 years ago

Awesome! Thank you :)