Skip to content

Commit

Permalink
Merge commit 'e85839afc1714429794d7af9cb7dbc2ad64e32cd' into release_…
Browse files Browse the repository at this point in the history
…clean
  • Loading branch information
FNTwin committed Jun 18, 2024
2 parents af41195 + e85839a commit 85d0435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openqdc/datasets/interaction/metcalf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def content_to_xyz(content, subset):
num_atoms = np.array([int(content.split("\n")[0])])
tmp = content.split("\n")[1].split(",")
name = tmp[0]
e = tmp[1:-1]
e = np.array(list(map(float, tmp[1:-1]))).astype(np.float32)
except Exception as e:
logger.warning(f"Encountered exception in {content} : {e}")
return None
Expand Down

0 comments on commit 85d0435

Please sign in to comment.