adam-community 1.0.22__py3-none-any.whl → 1.0.23__py3-none-any.whl
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.
- adam_community/__version__.py +1 -1
- adam_community/tool.py +3 -1
- {adam_community-1.0.22.dist-info → adam_community-1.0.23.dist-info}/METADATA +1 -1
- {adam_community-1.0.22.dist-info → adam_community-1.0.23.dist-info}/RECORD +7 -7
- {adam_community-1.0.22.dist-info → adam_community-1.0.23.dist-info}/WHEEL +0 -0
- {adam_community-1.0.22.dist-info → adam_community-1.0.23.dist-info}/entry_points.txt +0 -0
- {adam_community-1.0.22.dist-info → adam_community-1.0.23.dist-info}/top_level.txt +0 -0
adam_community/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.0.
|
|
1
|
+
__version__ = "1.0.23"
|
adam_community/tool.py
CHANGED
|
@@ -22,6 +22,8 @@ class Tool:
|
|
|
22
22
|
cls.CONDA_ENV = "base"
|
|
23
23
|
if not hasattr(cls, "calltype"):
|
|
24
24
|
cls.calltype = "bash"
|
|
25
|
+
if not hasattr(cls, "DISPLAY_NAME"):
|
|
26
|
+
cls.DISPLAY_NAME = cls.__name__
|
|
25
27
|
|
|
26
28
|
|
|
27
29
|
def inputShow(self, **kwargs):
|
|
@@ -42,7 +44,7 @@ class Tool:
|
|
|
42
44
|
|
|
43
45
|
scripts = '\n'.join(['bash -s << EOF', scripts, 'EOF'])
|
|
44
46
|
else:
|
|
45
|
-
scripts = f"""python {self.
|
|
47
|
+
scripts = f"""python {self.DISPLAY_NAME}.py"""
|
|
46
48
|
return Tool.markdown_terminal(scripts, workdir=kwargs["task_id"],
|
|
47
49
|
user=kwargs["user"], conda_env=self.CONDA_ENV)
|
|
48
50
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
adam_community/__init__.py,sha256=vAmF9VQR6D4peppH0hnrHDmZK5cFeFPh11GIsTKUXhE,429
|
|
2
|
-
adam_community/__version__.py,sha256=
|
|
3
|
-
adam_community/tool.py,sha256=
|
|
2
|
+
adam_community/__version__.py,sha256=TsfOxJ6mtxlNs5o5L8PelYBmdcIU2HBCYiJjWJmW9pU,23
|
|
3
|
+
adam_community/tool.py,sha256=F6jxRU3urqTfgjLIZSW-hVWyj0FpNwvY65jOODXI19w,4954
|
|
4
4
|
adam_community/util.py,sha256=VJVXOWbnwmYAL3K0i4X_yItdmxEnC-IgyuVW74kTU4U,11664
|
|
5
5
|
adam_community/cli/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
6
6
|
adam_community/cli/build.py,sha256=fCteEXjtU2ZsXXUWa-j61gh_JVU-6xSAH_LpOP5swFc,12623
|
|
@@ -25,8 +25,8 @@ adam_community/cli/templates/long_description.md.j2,sha256=Rj6hcuNzEL0Sp17GQVCRJ
|
|
|
25
25
|
adam_community/cli/templates/long_description_en.md.j2,sha256=xSbahwGarXlWopZqHw7lrcv1dQuvwj2ChhZv5pJmUy4,1725
|
|
26
26
|
adam_community/cli/templates/rag_python.py.j2,sha256=YJL7-WIx-Dumt7lHuUGxl3Rbaw0kpkh8hpcCJ5lz9lA,2494
|
|
27
27
|
adam_community/cli/templates/toolbox_python.py.j2,sha256=EOnmsJUvQRrcO7K7c88kI42gMmcM0Z4ab46qwOJXbH8,4192
|
|
28
|
-
adam_community-1.0.
|
|
29
|
-
adam_community-1.0.
|
|
30
|
-
adam_community-1.0.
|
|
31
|
-
adam_community-1.0.
|
|
32
|
-
adam_community-1.0.
|
|
28
|
+
adam_community-1.0.23.dist-info/METADATA,sha256=o6xvoDxorc4zgN6epTHlX8RUkk8ebPQxSMsMN_LOO5k,2202
|
|
29
|
+
adam_community-1.0.23.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
30
|
+
adam_community-1.0.23.dist-info/entry_points.txt,sha256=4I7yRkn7cHwPY8-fWQLeAvKjc24zUy8Z65VsZNs0Wos,56
|
|
31
|
+
adam_community-1.0.23.dist-info/top_level.txt,sha256=MS8jbePXKZChih9kGizNVX0I1MFZFGWBMCIW_r86qhU,15
|
|
32
|
+
adam_community-1.0.23.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|