Skip to content

Commit

Permalink
Do not delete file_path in scores
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Townshend committed Jun 27, 2021
1 parent 1973118 commit b5fc697
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion atom3d/util/rosetta.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def _lookup(self, file_path):
def __call__(self, x, error_if_missing=False):
key, x['scores'] = self._lookup(x['file_path'])
x['id'] = str(key)
del x['file_path']
if x['scores'] is None and error_if_missing:
raise RuntimeError(f'Unable to find scores for {x["file_path"]}')
return x
Expand Down

0 comments on commit b5fc697

Please sign in to comment.