cuRDF 0.5.1__tar.gz → 0.5.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cuRDF
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: GPU-accelerated radial distribution functions with NVIDIA ALCHEMI Toolkit-Ops neighbor lists and PyTorch.
5
5
  Author: Joseph Hart
6
6
  License-Expression: MIT
@@ -127,7 +127,7 @@ bins, gr = rdf(
127
127
 
128
128
  ## Validation
129
129
 
130
- RDFs for liquid water (64 atoms, 1 ns) match reference curves for all pairs (cite Darren paper):
130
+ RDFs for liquid water (64 atoms, 1 ns) computed using a trajectory from [Lim et al. (2026)](https://arxiv.org/abs/2601.20134) match reference curves for all pairs:
131
131
 
132
132
  <table>
133
133
  <tr>
@@ -80,7 +80,7 @@ bins, gr = rdf(
80
80
 
81
81
  ## Validation
82
82
 
83
- RDFs for liquid water (64 atoms, 1 ns) match reference curves for all pairs (cite Darren paper):
83
+ RDFs for liquid water (64 atoms, 1 ns) computed using a trajectory from [Lim et al. (2026)](https://arxiv.org/abs/2601.20134) match reference curves for all pairs:
84
84
 
85
85
  <table>
86
86
  <tr>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cuRDF
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: GPU-accelerated radial distribution functions with NVIDIA ALCHEMI Toolkit-Ops neighbor lists and PyTorch.
5
5
  Author: Joseph Hart
6
6
  License-Expression: MIT
@@ -127,7 +127,7 @@ bins, gr = rdf(
127
127
 
128
128
  ## Validation
129
129
 
130
- RDFs for liquid water (64 atoms, 1 ns) match reference curves for all pairs (cite Darren paper):
130
+ RDFs for liquid water (64 atoms, 1 ns) computed using a trajectory from [Lim et al. (2026)](https://arxiv.org/abs/2601.20134) match reference curves for all pairs:
131
131
 
132
132
  <table>
133
133
  <tr>
@@ -335,7 +335,7 @@ def rdf_from_ase(
335
335
 
336
336
  if atom_types_map:
337
337
  # map numeric types to element names if provided
338
- types = frame.get_array("numbers", int, None)
338
+ types = frame.get_array("numbers", False)
339
339
  name_list = []
340
340
  for t in types:
341
341
  name = atom_types_map.get(t) or atom_types_map.get(str(t))
@@ -367,7 +367,10 @@ def rdf_from_ase(
367
367
  "Check element symbols or index selection."
368
368
  )
369
369
 
370
- pbc_tuple = tuple(bool(x) for x in pbc)
370
+ if isinstance(pbc, Iterable):
371
+ pbc_tuple = tuple(bool(x) for x in pbc)
372
+ else:
373
+ pbc_tuple = (bool(pbc), bool(pbc), bool(pbc))
371
374
  wrap_flag = wrap_positions and all(pbc_tuple)
372
375
  pos_all = frame.get_positions(wrap=wrap_flag)
373
376
  cell = np.array(frame.get_cell().array, dtype=np.float32)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cuRDF"
7
- version = "0.5.1"
7
+ version = "0.5.2"
8
8
  description = "GPU-accelerated radial distribution functions with NVIDIA ALCHEMI Toolkit-Ops neighbor lists and PyTorch."
9
9
  authors = [{ name = "Joseph Hart" }]
10
10
  readme = { file = "README.md", "content-type" = "text/markdown" }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes