snayfach / MicrobeCensus

MicrobeCensus estimates the average genome size of microbial communities from metagenomic data
http://genomebiology.com/2015/16/1/51
GNU General Public License v3.0
41 stars 16 forks source link

Fix exception syntax according to PEP-3110 #16

Closed boulund closed 6 years ago

boulund commented 6 years ago

According to PEP-3110 (https://www.python.org/dev/peps/pep-3110/), exceptions should be assigned to a variable using the keyword "as", instead of using the comma syntax, which is only valid in Python versions prior to 2.6 (i.e. 2.5 and below).