From e8c2d9e9199dcdb5502b9b1e7ca8b74728fb8800 Mon Sep 17 00:00:00 2001 From: CunliangGeng Date: Wed, 22 Jun 2016 20:53:20 +0200 Subject: [PATCH] Modify pdb_rslice.py to NOT print PDB headers (#3) --- pdb_rslice.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pdb_rslice.py b/pdb_rslice.py index afda2965..e5699d43 100755 --- a/pdb_rslice.py +++ b/pdb_rslice.py @@ -86,8 +86,6 @@ def _slice_pdb(fhandle, rslice): if line.startswith(('ATOM', 'HETATM', 'TER')): if st_slice <= int(line[22:26]) <= en_slice: yield line - else: - yield line if __name__ == '__main__':