diff --git a/api/pyproject.toml b/api/pyproject.toml index cdbfd6876..ecfb87930 100644 --- a/api/pyproject.toml +++ b/api/pyproject.toml @@ -7,10 +7,8 @@ readme = "README.md" requires-python = ">=3.10" -# [tool.setuptools] -# packages = { find = { include = ["service*"] } } [tool.setuptools.packages.find] -include = ["service*"] +include = ["service"] [build-system] diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index 1984ad521..000000000 --- a/pyproject.toml +++ /dev/null @@ -1,83 +0,0 @@ -[tool.poetry] -name = "bio-compose-server" -description = "BioCheck (bio-compose-server): A Biological Simulation Verification Service." -version = "0.1.0" -license = "MIT" -readme = "README.md" -authors = ["Alexander Patrie "] -classifiers=[ - 'Development Status :: 3 - Alpha', - 'Intended Audience :: Science/Research', - 'License :: OSI Approved :: MIT License', - 'Topic :: Scientific/Engineering :: Bio-Informatics', - ] -keywords=['systems', 'biology', 'modeling', 'simulation'] - -[tool.poetry.dependencies] -python = "^3.10" - - -[tool.poetry.group.api.dependencies] -api = { path = "./api", develop = true } -pydantic-settings = "^2.6.1" -pydantic = "^2.9.2" -uvicorn = "^0.32.0" -pyyaml = "^6.0.2" - - -[tool.poetry.group.base.dependencies] -pip-autoremove = "^0.10.0" -requests-toolbelt = "^1.0.0" -python-dotenv = "^1.0.1" -google-cloud-storage = "^2.18.2" -python-multipart = "^0.0.17" -fastapi = "^0.115.4" -toml = "^0.10.2" -typing-extensions = "^4.12.2" -pymongo = "^4.10.1" - - -[tool.poetry.group.dev.dependencies] -api = { path = "./api", develop = true } -worker = { path = "./worker", develop = true } -pip-autoremove = "^0.10.0" -requests-toolbelt = "^1.0.0" -python-dotenv = "^1.0.1" -google-cloud-storage = "^2.18.2" -python-multipart = "^0.0.17" -fastapi = "^0.115.4" -toml = "^0.10.2" -typing-extensions = "^4.12.2" -pymongo = "^4.10.1" -pydantic-settings = "^2.6.1" -pydantic = "^2.9.2" -uvicorn = "^0.32.0" -pyyaml = "^6.0.2" -pytest = "^8.3.3" -simulariumio = "^1.11.0" -copasi-basico = "^0.78" -tellurium = "^2.2.10" -biosimulators-copasi = "^0.2.22" -biosimulators-tellurium = "^0.1.44" -seaborn = "^0.13.2" -jupyterlab = "^4.3.0" -process-bigraph = "^0.0.22" -bigraph-schema = "^0.0.45" - - -[tool.poetry.group.worker.dependencies] -worker = { path = "./worker", develop = true } -simulariumio = "^1.11.0" -copasi-basico = "^0.78" -tellurium = "^2.2.10" -biosimulators-copasi = "^0.2.22" -biosimulators-tellurium = "^0.1.44" -seaborn = "^0.13.2" -jupyterlab = "^4.3.0" -process-bigraph = "^0.0.22" -bigraph-schema = "^0.0.45" - - -[build-system] -requires = ["poetry-core"] -build-backend = "poetry.core.masonry.api" \ No newline at end of file diff --git a/worker/pyproject.toml b/worker/pyproject.toml index c2cd07357..31a88f199 100644 --- a/worker/pyproject.toml +++ b/worker/pyproject.toml @@ -7,8 +7,8 @@ readme = "README.md" requires-python = ">=3.10" -[tool.setuptools] -packages = { find = { include = ["service*"] } } +[tool.setuptools.packages.find] +include = ["service"] [build-system] diff --git a/worker/service/main.py b/worker/service/main.py index 53a891110..cc7f3c42a 100644 --- a/worker/service/main.py +++ b/worker/service/main.py @@ -67,7 +67,7 @@ def register_module( def store_registered_addresses(): # TODO: here, get the registered process addresses as a list and save it to mongo under process_registry - pass + registered_addresses = db_connector.get_registered_addresses() async def main(max_retries=MAX_RETRIES):