Rostlab / SeqVec

Modelling the Language of Life - Deep Learning Protein Sequences
http://embed.protein.properties
MIT License
116 stars 13 forks source link

Fix boolean argument parsing #8

Closed konstin closed 4 years ago

konstin commented 4 years ago

Unfortunately, type=bool is still a footgun in argparse (https://stackoverflow.com/questions/15008758/parsing-boolean-values-with-argparse). With this change it's actually possible to use --no-sum-layers from the CLI.