bayesianflow-for-chem 2.0.4__tar.gz → 2.0.5__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.

Potentially problematic release.


This version of bayesianflow-for-chem might be problematic. Click here for more details.

Files changed (23) hide show
  1. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/PKG-INFO +1 -1
  2. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/bayesianflow_for_chem/__init__.py +1 -1
  3. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/bayesianflow_for_chem/cli.py +1 -3
  4. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/bayesianflow_for_chem.egg-info/PKG-INFO +1 -1
  5. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/LICENSE +0 -0
  6. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/README.md +0 -0
  7. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/bayesianflow_for_chem/data.py +0 -0
  8. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/bayesianflow_for_chem/model.py +0 -0
  9. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/bayesianflow_for_chem/scorer.py +0 -0
  10. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/bayesianflow_for_chem/spectra.py +0 -0
  11. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/bayesianflow_for_chem/tool.py +0 -0
  12. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/bayesianflow_for_chem/train.py +0 -0
  13. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/bayesianflow_for_chem/vocab.txt +0 -0
  14. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/bayesianflow_for_chem.egg-info/SOURCES.txt +0 -0
  15. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/bayesianflow_for_chem.egg-info/dependency_links.txt +0 -0
  16. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/bayesianflow_for_chem.egg-info/entry_points.txt +0 -0
  17. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/bayesianflow_for_chem.egg-info/requires.txt +0 -0
  18. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/bayesianflow_for_chem.egg-info/top_level.txt +0 -0
  19. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/pyproject.toml +0 -0
  20. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/setup.cfg +0 -0
  21. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/setup.py +0 -0
  22. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/test/test_merge_lora.py +0 -0
  23. {bayesianflow_for_chem-2.0.4 → bayesianflow_for_chem-2.0.5}/test/test_molecular_embedding.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bayesianflow_for_chem
3
- Version: 2.0.4
3
+ Version: 2.0.5
4
4
  Summary: Bayesian flow network framework for Chemistry
5
5
  Home-page: https://augus1999.github.io/bayesian-flow-network-for-chemistry/
6
6
  Author: Nianze A. Tao
@@ -18,7 +18,7 @@ __all__ = [
18
18
  "MLP",
19
19
  "EnsembleChemBFN",
20
20
  ]
21
- __version__ = "2.0.4"
21
+ __version__ = "2.0.5"
22
22
  __author__ = "Nianze A. Tao (Omozawa Sueno)"
23
23
 
24
24
 
@@ -377,9 +377,7 @@ def main_script(version: str) -> None:
377
377
 
378
378
  def selfies2token(s):
379
379
  return torch.tensor(
380
- [1]
381
- + [vocab_dict.get(i, default=unknown_idx) for i in split_selfies(s)]
382
- + [2],
380
+ [1] + [vocab_dict.get(i, unknown_idx) for i in split_selfies(s)] + [2],
383
381
  dtype=torch.long,
384
382
  )
385
383
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bayesianflow_for_chem
3
- Version: 2.0.4
3
+ Version: 2.0.5
4
4
  Summary: Bayesian flow network framework for Chemistry
5
5
  Home-page: https://augus1999.github.io/bayesian-flow-network-for-chemistry/
6
6
  Author: Nianze A. Tao