Mercurial > repos > ximgchess > chap_test_20230411
changeset 54:70992f91d75f draft
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit eda217fb0afe5af50380a24b578c668db9c004f4-dirty
author | ximgchess |
---|---|
date | Wed, 12 Apr 2023 18:42:57 +0000 |
parents | e6848e9c1c3c |
children | 55740619de5e |
files | tomo/.tomo_reduce.xml.swp tomo/pip_install.sh tomo/tomo_reduce.xml |
diffstat | 3 files changed, 11 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tomo/pip_install.sh Wed Apr 12 18:42:57 2023 +0000 @@ -0,0 +1,8 @@ +#!/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 16:46:04 2023 +0000 +++ b/tomo/tomo_reduce.xml Wed Apr 12 18:42:57 2023 +0000 @@ -6,9 +6,9 @@ <expand macro="requirements"/> <command detect_errors="exit_code"> <![CDATA[ - which python && - which CHAP && - python --version && + $__tool_directory__/pip_install.sh && + echo $__tool_directory__ && + ls $__tool_directory__/.. && cp $tool_config reduce.yaml ]]> </command>