Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions Scripts/PDB/generate_three_to_one_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)