aiagents4pharma 1.0.0__tar.gz → 1.1.0__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.
Files changed (22) hide show
  1. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/PKG-INFO +1 -1
  2. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/aiagents4pharma/talk2biomodels/models/basico_model.py +13 -4
  3. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/aiagents4pharma.egg-info/PKG-INFO +1 -1
  4. aiagents4pharma-1.1.0/release_version.txt +1 -0
  5. aiagents4pharma-1.0.0/release_version.txt +0 -1
  6. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/LICENSE +0 -0
  7. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/README.md +0 -0
  8. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/aiagents4pharma/__init__.py +0 -0
  9. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/aiagents4pharma/talk2biomodels/__init__.py +0 -0
  10. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/aiagents4pharma/talk2biomodels/models/__init__.py +0 -0
  11. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/aiagents4pharma/talk2biomodels/models/sys_bio_model.py +0 -0
  12. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/aiagents4pharma/talk2biomodels/tools/__init__.py +0 -0
  13. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/aiagents4pharma/talk2biomodels/tools/ask_question.py +0 -0
  14. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/aiagents4pharma/talk2biomodels/tools/model_description.py +0 -0
  15. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/aiagents4pharma/talk2biomodels/tools/plot_figure.py +0 -0
  16. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/aiagents4pharma/talk2biomodels/tools/simulate_model.py +0 -0
  17. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/aiagents4pharma.egg-info/SOURCES.txt +0 -0
  18. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/aiagents4pharma.egg-info/dependency_links.txt +0 -0
  19. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/aiagents4pharma.egg-info/requires.txt +0 -0
  20. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/aiagents4pharma.egg-info/top_level.txt +0 -0
  21. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/pyproject.toml +0 -0
  22. {aiagents4pharma-1.0.0 → aiagents4pharma-1.1.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aiagents4pharma
3
- Version: 1.0.0
3
+ Version: 1.1.0
4
4
  Summary: AI Agents for drug discovery, drug development, and other pharmaceutical R&D
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -62,10 +62,19 @@ class BasicoModel(SysBioModel):
62
62
  # check if the param_name is not None
63
63
  if param_name is None:
64
64
  continue
65
- basico.model_info.set_species(name=param_name,
66
- exact=True,
67
- initial_concentration=param_value,
68
- model=self.copasi_model)
65
+ # if param is a kinectic parameter
66
+ df_all_params = basico.model_info.get_parameters(model=self.copasi_model)
67
+ if param_name in df_all_params.index.tolist():
68
+ basico.model_info.set_parameters(name=param_name,
69
+ exact=True,
70
+ initial_value=param_value,
71
+ model=self.copasi_model)
72
+ # if param is a species
73
+ else:
74
+ basico.model_info.set_species(name=param_name,
75
+ exact=True,
76
+ initial_concentration=param_value,
77
+ model=self.copasi_model)
69
78
 
70
79
  # Run the simulation and return results
71
80
  df_result = basico.run_time_course(model=self.copasi_model,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aiagents4pharma
3
- Version: 1.0.0
3
+ Version: 1.1.0
4
4
  Summary: AI Agents for drug discovery, drug development, and other pharmaceutical R&D
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -0,0 +1 @@
1
+ v1.1.0
@@ -1 +0,0 @@
1
- v1.0.0
File without changes