Skip to content

Commit

Permalink
Merge pull request #18 from MetaboHUB-MetaToul-FluxoMet/Dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
llegregam authored Jan 21, 2025
2 parents 294b680 + 3b21a75 commit 566fc16
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 60 deletions.
13 changes: 8 additions & 5 deletions isodesign/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ def get_last_version():
def main():
"""The main routine"""

thread = Thread(target=get_last_version)
thread.start()
path_to_app = Path(isodesign.__file__).parent
path_to_app = path_to_app / "ui/Upload_data.py"
run(["streamlit", "run", str(path_to_app)])
if len(sys.argv) > 1:
isodesign.ui.cli.main()
else:
thread = Thread(target=get_last_version)
thread.start()
path_to_app = Path(isodesign.__file__).parent
path_to_app = path_to_app / "ui/Upload_data.py"
run(["streamlit", "run", str(path_to_app)])


if __name__ == "__main__":
Expand Down
113 changes: 62 additions & 51 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "isodesign"
version = "2.0.0_beta.2"
version = "2.0.0_beta.3"
description = "Facilitates the choice of the optimal isotopic composition of labeled substrates in 13C-fluxomics experiments."
authors = ["rkouakou <kouakou@insa-toulouse.fr>, llegregam <legregam@insa-toulouse.fr>"]
readme = "README.md"
Expand All @@ -11,12 +11,12 @@ isodesign = 'isodesign.__main__:main'
[tool.poetry.dependencies]
python = ">=3.10, <3.13"
pandas = "^2.1.4"
influx-si = "^7.0.3"
streamlit = "^1.36.0"
influx-si = "^7.2.1"
streamlit = "^1.41"
sess-i = "^0.1.0"
openpyxl = "^3.1.5"
plotly = "^5.23.0"
numpy = "^1.24.0"
numpy = "^2.2.0"

[tool.poetry.group.dev.dependencies]
sphinx = "^8.1.3"
Expand Down

0 comments on commit 566fc16

Please sign in to comment.