HUST-NingKang-Lab / EXPERT

Transfer Learning-enabled context-aware microbial source tracking
MIT License
12 stars 4 forks source link

[CLI feature request]Change the input format for `convert` #7

Open AdeBC opened 3 years ago

AdeBC commented 3 years ago

The input format for convert may be problematic or uneasy to use. The convert mode accepts multiple abundance tables as inputs, which is convenient. But the way to input the multiple files is uneasy to use as it requires a new text file containing paths to these abundance files. Could it be more easier for users?

Suggested solution A better way is using nargs='+' for add arguments. For example:

parser.add_argument('intergers',metavar='N',type=int,nargs='+',help='an interger for the accumulator')