From 9af2c4ea12e24f43b8139f492a13a0ba169a3d06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Rodrigues?= Date: Tue, 29 Mar 2016 19:15:09 +0200 Subject: [PATCH] Suggestions from landscape.io: e.g. unused imports --- pdb_fetch.py | 1 - pdb_gap.py | 2 +- pdb_wc.py | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pdb_fetch.py b/pdb_fetch.py index 3f94865a..defb01b0 100755 --- a/pdb_fetch.py +++ b/pdb_fetch.py @@ -18,7 +18,6 @@ from __future__ import print_function import gzip -import os import re import sys import cStringIO diff --git a/pdb_gap.py b/pdb_gap.py index 2e98a3e3..c874fcfa 100755 --- a/pdb_gap.py +++ b/pdb_gap.py @@ -82,7 +82,7 @@ def _calc_distance(i, j): if d > _distance_threshold: print("{0[1]}:{0[3]}{0[2]} < {2:7.2f}A > {1[1]}:{1[3]}{1[2]}".format(prev_at, at_uid, d)) elif prev_at[2] + 1 != at_uid[2]: - print("{0[1]}:{0[3]}{0[2]} < Seq. Gap > {1[1]}:{1[3]}{1[2]}".format(prev_at, at_uid, d)) + print("{0[1]}:{0[3]}{0[2]} < Seq. Gap > {1[1]}:{1[3]}{1[2]}".format(prev_at, at_uid)) prev_at = at_uid diff --git a/pdb_wc.py b/pdb_wc.py index 047a0bec..bd435ffa 100755 --- a/pdb_wc.py +++ b/pdb_wc.py @@ -17,7 +17,6 @@ from __future__ import print_function, division -import math import os import re import sys