CodeEntropy 2.2.0__py3-none-any.whl → 2.2.2__py3-none-any.whl

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.
CodeEntropy/__init__.py CHANGED
@@ -8,4 +8,4 @@ entropy estimates, supporting a wide range of applications in molecular simulati
8
8
  and statistical mechanics.
9
9
  """
10
10
 
11
- __version__ = "2.2.0"
11
+ __version__ = "2.2.2"
@@ -323,7 +323,7 @@ class VibrationalEntropyNode:
323
323
  EntropyPair containing translational entropy (from force covariance) and
324
324
  rotational entropy (from torque covariance).
325
325
  """
326
- if fmat is None or tmat is None:
326
+ if fmat is None and tmat is None:
327
327
  return EntropyPair(trans=0.0, rot=0.0)
328
328
 
329
329
  f = self._mat_ops.filter_zero_rows_columns(
@@ -333,7 +333,7 @@ class VibrationalEntropyNode:
333
333
  np.asarray(tmat), atol=self._zero_atol
334
334
  )
335
335
 
336
- if f.size == 0 or t.size == 0:
336
+ if f.size == 0 and t.size == 0:
337
337
  return EntropyPair(trans=0.0, rot=0.0)
338
338
 
339
339
  s_trans = ve.vibrational_entropy_calculation(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: CodeEntropy
3
- Version: 2.2.0
3
+ Version: 2.2.2
4
4
  Summary: CodeEntropy is a Python package for computing the configurational entropy of macromolecular systems using forces sampled from molecular dynamics (MD) simulations. It implements the multiscale cell correlation method to provide accurate and efficient entropy estimates, supporting a wide range of applications in molecular simulation and statistical mechanics.
5
5
  Keywords: entropy,macromolecular systems,MD simulation
6
6
  Author-email: Arghya 'Argo' Chakravorty <arghyac@umich.edu>, Donald Chung-HK <donald.chung@stfc.ac.uk>, Sarah Fegan <sarah.fegan@stfc.ac.uk>, James Gebbie-Rayet <james.gebbie@stfc.ac.uk>, Sarah Harris <sarah.harris@sheffield.ac.uk>, Richard Henchman <rhen7213@uni.sydney.edu.au>, Jonathan Higham <j.higham4@lancaster.ac.uk>, Jas Kalayan <jas.kalayan@stfc.ac.uk>, Ioana Papa <iapapa1@sheffield.ac.uk>
@@ -1,4 +1,4 @@
1
- CodeEntropy/__init__.py,sha256=9Nwd6on8puYL8-NIcpN8_LZAY7vc693uJazVlYgBISg,404
1
+ CodeEntropy/__init__.py,sha256=C6n958v2RjlMuwZX0VCRm9fAX_m-4FwXr1fxwP1R9Hc,404
2
2
  CodeEntropy/__main__.py,sha256=5i_ZrxQaq0q2aPllbB4SZ6BApV6oUFCgx0cGyjfMPrU,108
3
3
  CodeEntropy/cli.py,sha256=xgSgagCV6HQ3CoXUpG7p7Ef5hCExgxp7orz6dZZWA6c,960
4
4
  CodeEntropy/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -17,7 +17,7 @@ CodeEntropy/entropy/nodes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
17
17
  CodeEntropy/entropy/nodes/aggregate.py,sha256=4SyXP1_bM0IesOuqflRLvPgEfFu0PmKiEm4EFgnNxwg,3062
18
18
  CodeEntropy/entropy/nodes/configurational.py,sha256=-3j2ji_p-twPjZyjQ1T3tgN0pYLSIof9any1w5NI2as,7135
19
19
  CodeEntropy/entropy/nodes/orientational.py,sha256=yPN_XRJ1LOxJ7hOE2cnsjIbgQlI2avM1g3mFbGhW6fM,2481
20
- CodeEntropy/entropy/nodes/vibrational.py,sha256=6ILiFV7MMn5sY4JWqXQbu4AF6imZdxJ10mQKvQu1A8E,16976
20
+ CodeEntropy/entropy/nodes/vibrational.py,sha256=3uhRqaMpK8u7QK2SDQ6RLRcr2rS3sPh6-GlTaNdTFWw,16978
21
21
  CodeEntropy/levels/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  CodeEntropy/levels/axes.py,sha256=776jtKiv9n3crGHnqSUA15X_5HYRQWDODFL-Hyp890w,25335
23
23
  CodeEntropy/levels/dihedrals.py,sha256=AkIoXYVj4Wo6xC5Mby5uL3LV4BgLdfDXVnyJO7hUJFM,19811
@@ -41,8 +41,8 @@ CodeEntropy/molecules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
41
41
  CodeEntropy/molecules/grouping.py,sha256=rlRVbRcxS_bPCZV8yoOCZKSpLS1F5AdpdIhaK2nWf1U,6426
42
42
  CodeEntropy/results/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
43
  CodeEntropy/results/reporter.py,sha256=ZmCEKhh_h7-0JGumlyrpH0Y-FaG8aGv-KkzdRAamEAQ,18368
44
- codeentropy-2.2.0.dist-info/entry_points.txt,sha256=8Oa3H9ErsrGtx5Hc6hIHOw73wK3Ylkvfgtl_4cBb_GU,52
45
- codeentropy-2.2.0.dist-info/licenses/LICENSE,sha256=hgMaAAVW1Q6dL586OHoz8vFO-6BYn-d2aAFBpVQylFc,1072
46
- codeentropy-2.2.0.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
47
- codeentropy-2.2.0.dist-info/METADATA,sha256=D7rlREgfJGGI1MOMIMY8WFNnYZtlqiL_gSmpv7tzWt8,6490
48
- codeentropy-2.2.0.dist-info/RECORD,,
44
+ codeentropy-2.2.2.dist-info/entry_points.txt,sha256=8Oa3H9ErsrGtx5Hc6hIHOw73wK3Ylkvfgtl_4cBb_GU,52
45
+ codeentropy-2.2.2.dist-info/licenses/LICENSE,sha256=hgMaAAVW1Q6dL586OHoz8vFO-6BYn-d2aAFBpVQylFc,1072
46
+ codeentropy-2.2.2.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
47
+ codeentropy-2.2.2.dist-info/METADATA,sha256=Emde7HhbOR1ObgxpPTibuOCRrO8n3sXPXxZhWHySGnk,6490
48
+ codeentropy-2.2.2.dist-info/RECORD,,