Skip to content

Commit

Permalink
Updating re: metatensor
Browse files Browse the repository at this point in the history
  • Loading branch information
rosecers committed Mar 5, 2024
1 parent d8fd9d8 commit 19e1c52
Show file tree
Hide file tree
Showing 2 changed files with 187 additions and 1 deletion.
184 changes: 184 additions & 0 deletions anisoap/representations/Untitled.ipynb

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion anisoap/representations/ellipsoidal_density_projection.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,9 @@ def contract_pairwise_feat(pair_ellip_feat, types, show_progress=False):
values=all_block_values.reshape(
all_block_values.shape[0], all_block_values.shape[1], -1
),
samples=Labels(["type", "center"], np.asarray(all_block_samples, np.int32)),
samples=Labels(
["type", "center"], np.asarray(all_block_samples, np.int32)
),
components=block.components,
properties=Labels(
list(property_names),
Expand Down

0 comments on commit 19e1c52

Please sign in to comment.