changeset 10:7cc954f15149 draft

planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline/tree/galaxy commit 2d65c72740d0439b8385378a890b3763d717f152-dirty
author kls286
date Wed, 29 Mar 2023 17:53:07 +0000
parents cc597d6571bc
children 92db332d6de5
files CHAP/__main__.py chap.xml scripts/CHAP setup.py
diffstat 4 files changed, 4 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/CHAP/__main__.py	Wed Mar 29 17:40:12 2023 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-from CHAP.runner import main
-
-if __name__ == '__main__':
-    main()
--- a/chap.xml	Wed Mar 29 17:40:12 2023 +0000
+++ b/chap.xml	Wed Mar 29 17:53:07 2023 +0000
@@ -1,9 +1,9 @@
 <tool id="chap" name="CHESS Analysis Pipeline" version="0.1.0+galaxy0" python_template_version="3.5" profile="21.05">
     <requirements>
-      <requirement type="package" version="0.0.2">chessanalysispipeline</requirement>
+      <requirement type="package" version="0.0.2">ChessAnalysisPipeline</requirement>
     </requirements>
     <command detect_errors="exit_code"><![CDATA[
-        cp '$input' data.csv && CHAP --config '$config'
+        which python && cp '$input' data.csv && CHAP --config '$config'
     ]]></command>
     <inputs>
         <param type="data" name="config" format="yaml" />
--- a/scripts/CHAP	Wed Mar 29 17:40:12 2023 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-python -m CHAP "$@"
--- a/setup.py	Wed Mar 29 17:40:12 2023 +0000
+++ b/setup.py	Wed Mar 29 17:53:07 2023 +0000
@@ -32,7 +32,7 @@
 
 setuptools.setup(
     name="ChessAnalysisPipeline",
-    version="0.0.1",
+    version="0.0.2",
     author="Keara Soloway, Rolf Verberg, Valentin Kuznetsov",
     author_email="",
     description="CHESS analysis pipeline framework",
@@ -42,7 +42,7 @@
     packages=['CHAP', 'MLaaS'],
     package_dir={'CHAP': 'CHAP', 'MLaaS': 'MLaaS'},
     package_data={'examples': data_files},
-    scripts=['scripts/CHAP'],
+    entry_points={'console_scripts': ['CHAP = CHAP.runner:main']},
     classifiers=[
         "Programming Language :: Python :: 3",
         "License :: OSI Approved :: MIT License",