From 9c0c7003fc6a04be4c50a0e9ad4af5ca95b8d04b Mon Sep 17 00:00:00 2001 From: alasadia Date: Wed, 6 Mar 2019 17:12:44 +0100 Subject: [PATCH] Refactoring PDB generate_three_to_one_dict.py script --- Scripts/PDB/generate_three_to_one_dict.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Scripts/PDB/generate_three_to_one_dict.py b/Scripts/PDB/generate_three_to_one_dict.py index 692e5e06593..157a0254f44 100644 --- a/Scripts/PDB/generate_three_to_one_dict.py +++ b/Scripts/PDB/generate_three_to_one_dict.py @@ -44,11 +44,6 @@ fh = gzip.open(gzname, 'rb') -# write extracted file to disk (not necessary) -#with open(cifname, 'wb') as cifh: - #print("Extracting file...") - #cifh.write(fh.read()) - # The following code written by Hongbo Zhu # generate three_to_one_dict # two records in PDB Chemical Component Dictionary are parsed to @@ -118,7 +113,5 @@ _threeAllPath = os.path.join(_rafPath, 'three_to_one_all.py') _threePath = os.path.join(_rafPath, 'three_to_one_dict.py') -#with open(_threeAllPath, 'w') as fh: - #fh.writelines(three_to_one_buf) with open(_threePath, 'w') as fh: fh.writelines(three_to_one_buf_noq)