Mercurial > repos > ximgchess > chap_test_20230411
changeset 56:2abfae6df4f8 draft
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit eda217fb0afe5af50380a24b578c668db9c004f4-dirty
author | ximgchess |
---|---|
date | Wed, 12 Apr 2023 18:53:06 +0000 |
parents | 55740619de5e |
children | 2a0a1c96b158 |
files | pip_install.sh tomo/.tomo_reduce.xml.swp tomo/pip_install.sh tomo/tomo_reduce.xml |
diffstat | 4 files changed, 10 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pip_install.sh Wed Apr 12 18:53:06 2023 +0000 @@ -0,0 +1,9 @@ +#!/bin/bash + +VERSION=`python --version | awk '{split($2,a,"."); printf "%s.%s", a[1], a[2]}'` +PIPLOC=`which python | sed 's/bin\/python//g'` +PIPLOC=$PIPLOC/lib/python$VERSION/site-packages +echo $PIPLOC + +echo 'Try installing $1 to $PIPLOC' +pip --exists-action i install --target $PIPLOC $1
--- a/tomo/pip_install.sh Wed Apr 12 18:45:40 2023 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -#!/bin/bash - -VERSION=`python --version | awk '{split($2,a,"."); printf "%s.%s", a[1], a[2]}'` -PIPLOC=`which python | sed 's/bin\/python//g'` -PIPLOC=$PIPLOC/lib/python$VERSION/site-packages -echo $PIPLOC - -pip --exists-action i install --target $PIPLOC $1
--- a/tomo/tomo_reduce.xml Wed Apr 12 18:45:40 2023 +0000 +++ b/tomo/tomo_reduce.xml Wed Apr 12 18:53:06 2023 +0000 @@ -6,9 +6,7 @@ <expand macro="requirements"/> <command detect_errors="exit_code"> <![CDATA[ - $__tool_directory__/pip_install.sh 'certif-pyspec==1.5.3' && - echo $__tool_directory__ && - ls $__tool_directory__/.. && + $__tool_directory__/../pip_install.sh 'certif-pyspec==1.5.3' && cp $tool_config reduce.yaml ]]> </command>