apscale-gui 3.3.2__tar.gz → 4.0.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.
- {apscale_gui-3.3.2/apscale_gui.egg-info → apscale_gui-4.0.0}/PKG-INFO +1 -1
- apscale_gui-4.0.0/apscale_gui/__main__.py +28 -0
- apscale_gui-4.0.0/apscale_gui/apscale_gui.py +1463 -0
- {apscale_gui-3.3.2 → apscale_gui-4.0.0/apscale_gui.egg-info}/PKG-INFO +1 -1
- {apscale_gui-3.3.2 → apscale_gui-4.0.0}/setup.py +1 -1
- apscale_gui-3.3.2/apscale_gui/__main__.py +0 -16
- apscale_gui-3.3.2/apscale_gui/apscale_gui.py +0 -1275
- {apscale_gui-3.3.2 → apscale_gui-4.0.0}/LICENSE +0 -0
- {apscale_gui-3.3.2 → apscale_gui-4.0.0}/MANIFEST.in +0 -0
- {apscale_gui-3.3.2 → apscale_gui-4.0.0}/README.md +0 -0
- {apscale_gui-3.3.2 → apscale_gui-4.0.0}/apscale_gui/__init__.py +0 -0
- {apscale_gui-3.3.2 → apscale_gui-4.0.0}/apscale_gui/_user_data/.DS_Store +0 -0
- {apscale_gui-3.3.2 → apscale_gui-4.0.0}/apscale_gui/_user_data/user_data.txt +0 -0
- {apscale_gui-3.3.2 → apscale_gui-4.0.0}/apscale_gui.egg-info/SOURCES.txt +0 -0
- {apscale_gui-3.3.2 → apscale_gui-4.0.0}/apscale_gui.egg-info/dependency_links.txt +0 -0
- {apscale_gui-3.3.2 → apscale_gui-4.0.0}/apscale_gui.egg-info/entry_points.txt +0 -0
- {apscale_gui-3.3.2 → apscale_gui-4.0.0}/apscale_gui.egg-info/requires.txt +0 -0
- {apscale_gui-3.3.2 → apscale_gui-4.0.0}/apscale_gui.egg-info/top_level.txt +0 -0
- {apscale_gui-3.3.2 → apscale_gui-4.0.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apscale_gui
|
|
3
|
-
Version:
|
|
3
|
+
Version: 4.0.0
|
|
4
4
|
Summary: Advanced Pipeline for Simple yet Comprehensive AnaLysEs of DNA metabarcoding data - Graphical User Interface
|
|
5
5
|
Home-page: https://github.com/TillMacher/apscale_gui
|
|
6
6
|
Author: Till-Hendrik Macher
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import subprocess
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
def main():
|
|
6
|
+
# Determine theme
|
|
7
|
+
theme = "light" # default
|
|
8
|
+
if len(sys.argv) > 1:
|
|
9
|
+
if sys.argv[1].lower() in ["dark", "light"]:
|
|
10
|
+
theme = sys.argv[1].lower()
|
|
11
|
+
|
|
12
|
+
try:
|
|
13
|
+
script_dir = os.path.dirname(os.path.abspath(__file__))
|
|
14
|
+
script_path = os.path.join(script_dir, 'apscale_gui.py')
|
|
15
|
+
|
|
16
|
+
print(f"Starting APSCALE-GUI in {theme} mode. Press CTRL + C to exit.")
|
|
17
|
+
subprocess.run([
|
|
18
|
+
'streamlit', 'run', script_path,
|
|
19
|
+
'--theme.base', theme,
|
|
20
|
+
'--server.address', 'localhost'
|
|
21
|
+
])
|
|
22
|
+
|
|
23
|
+
except KeyboardInterrupt:
|
|
24
|
+
print("Exiting...")
|
|
25
|
+
sys.exit()
|
|
26
|
+
|
|
27
|
+
if __name__ == "__main__":
|
|
28
|
+
main()
|