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.
@@ -1 +1 @@
1
- __version__ = "1.0.22"
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.__name__}.py"""
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
  Metadata-Version: 2.2
2
2
  Name: adam_community
3
- Version: 1.0.22
3
+ Version: 1.0.23
4
4
  Summary: Adam Community Tools and Utilities
5
5
  Home-page: https://github.com/yourusername/adam-community
6
6
  Author: Adam Community
@@ -1,6 +1,6 @@
1
1
  adam_community/__init__.py,sha256=vAmF9VQR6D4peppH0hnrHDmZK5cFeFPh11GIsTKUXhE,429
2
- adam_community/__version__.py,sha256=3qPJsI_cs0SlJn5DWM459KiP-4DSaTWmW-7lyF1jPMo,23
3
- adam_community/tool.py,sha256=Wcw1xE0WlMEDYtc2-W3GCBfhKL0OyyZE9SDswVPdIBM,4861
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.22.dist-info/METADATA,sha256=b_hHqAWTogmxREhfTkMDtzpKfq41vaJ7mzQAU-FBbr0,2202
29
- adam_community-1.0.22.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
30
- adam_community-1.0.22.dist-info/entry_points.txt,sha256=4I7yRkn7cHwPY8-fWQLeAvKjc24zUy8Z65VsZNs0Wos,56
31
- adam_community-1.0.22.dist-info/top_level.txt,sha256=MS8jbePXKZChih9kGizNVX0I1MFZFGWBMCIW_r86qhU,15
32
- adam_community-1.0.22.dist-info/RECORD,,
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,,