seqan / iGenVar

The official repository for the iGenVar project.
BSD 3-Clause "New" or "Revised" License
9 stars 8 forks source link

[MISC] Update iGenVar parser - pass non-negative values and leave the handling to the parser #161

Closed Irallia closed 2 years ago

Irallia commented 2 years ago

As in https://github.com/seqan/iGenVar/pull/158#discussion_r713710284, we should use unsigned types for passed non-negative values and leave the error handling to the argument parser.

If the user must pass non-negative values, just use an unsigned type. This automatically puts (unsigned 32 bit integer) to the help screen and prints a helpful error message if a user passes a negative value nonetheless.