bayesianflow-for-chem 2.2.2__tar.gz → 2.2.3__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 (25) hide show
  1. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/PKG-INFO +1 -1
  2. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/bayesianflow_for_chem/__init__.py +1 -1
  3. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/bayesianflow_for_chem/cli.py +1 -1
  4. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/bayesianflow_for_chem/model.py +3 -0
  5. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/bayesianflow_for_chem.egg-info/PKG-INFO +1 -1
  6. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/LICENSE +0 -0
  7. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/README.md +0 -0
  8. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/bayesianflow_for_chem/_data/vocab.txt +0 -0
  9. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/bayesianflow_for_chem/data.py +0 -0
  10. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/bayesianflow_for_chem/scorer.py +0 -0
  11. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/bayesianflow_for_chem/spectra.py +0 -0
  12. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/bayesianflow_for_chem/tool.py +0 -0
  13. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/bayesianflow_for_chem/train.py +0 -0
  14. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/bayesianflow_for_chem.egg-info/SOURCES.txt +0 -0
  15. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/bayesianflow_for_chem.egg-info/dependency_links.txt +0 -0
  16. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/bayesianflow_for_chem.egg-info/entry_points.txt +0 -0
  17. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/bayesianflow_for_chem.egg-info/requires.txt +0 -0
  18. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/bayesianflow_for_chem.egg-info/top_level.txt +0 -0
  19. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/pyproject.toml +0 -0
  20. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/setup.cfg +0 -0
  21. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/setup.py +0 -0
  22. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/test/test_cli_plugin.py +0 -0
  23. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/test/test_jit_compatibility.py +0 -0
  24. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/test/test_merge_lora.py +0 -0
  25. {bayesianflow_for_chem-2.2.2 → bayesianflow_for_chem-2.2.3}/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.2.2
3
+ Version: 2.2.3
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
@@ -16,7 +16,7 @@ __all__ = [
16
16
  "MLP",
17
17
  "EnsembleChemBFN",
18
18
  ]
19
- __version__ = "2.2.2"
19
+ __version__ = "2.2.3"
20
20
  __author__ = "Nianze A. Tao (Omozawa Sueno)"
21
21
 
22
22
 
@@ -696,7 +696,7 @@ def main_script(version: str) -> None:
696
696
  with open(runtime_config["inference"]["result_file"], "w") as f:
697
697
  f.write("\n".join(mols))
698
698
  # ------- finished -------
699
- print(" ####### job finished #######")
699
+ print("*" * 25 + " job finished " + "*" * 25)
700
700
  print(_END_MESSAGE)
701
701
 
702
702
 
@@ -1171,6 +1171,9 @@ class EnsembleChemBFN(ChemBFN):
1171
1171
  assert (
1172
1172
  isinstance(c, dict) is self._label_is_dict
1173
1173
  ), f"`c` should be a {'`dict` instance' if self._label_is_dict else '`list` instance'} but got {type(c)} instand."
1174
+ assert len(c) == len(
1175
+ self.models
1176
+ ), f"Number of conditions should match the number of LoRA models. We have {len(self.models)} LoRA models but {len(c)} conditions were provided."
1174
1177
  out: Dict[str, Tensor] = {}
1175
1178
  if isinstance(c, list):
1176
1179
  c = dict(zip([f"val_{i}" for i in range(len(c))], c))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bayesianflow_for_chem
3
- Version: 2.2.2
3
+ Version: 2.2.3
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