Skip to content

Commit

Permalink
RFCT Remove Python 2 import
Browse files Browse the repository at this point in the history
  • Loading branch information
luispedro committed Jun 28, 2024
1 parent 2a1c87c commit 0ab399b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions macrel/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,7 @@ def do_density(args, clen, prediction):
print(f'Macrel processed the sample and verified a density of {sample_density:.3f} AMPs / Mbp.')

def do_get_examples(args):
try:
from urllib.request import urlretrieve
except:
from urllib2 import urlretrieve
from urllib.request import urlretrieve

DATA_FILES = [
'excontigs.fna.gz',
Expand Down

0 comments on commit 0ab399b

Please sign in to comment.