Mercurial > repos > jcb-mpl > detrend
changeset 4:33ddc9cb6dd0 draft
Deleted selected files
| author | jcb-mpl |
|---|---|
| date | Fri, 03 May 2019 16:50:24 -0400 |
| parents | b7200c558191 |
| children | b20ea1dae984 |
| files | scilab602_wrapper.sh |
| diffstat | 1 files changed, 0 insertions(+), 31 deletions(-) [+] |
line wrap: on
line diff
--- a/scilab602_wrapper.sh Fri May 03 16:49:54 2019 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,31 +0,0 @@ -#!/bin/sh - -### Run scilab providing the scilab script in $1 as standard input and passing -### the remaining arguments on the command line - -# Function that writes a message to stderr and exits -fail() -{ - echo "$@" >&2 - exit 1 -} - -# Extract first argument -infile=$1; shift - -# Ensure the file exists -# test -f $infile || fail "scilab input file '$infile' does not exist" - -# Ensure scilab executable is found (pour 5.5.2) -# which scilab > /dev/null || fail "scilab-5.5.2 was not found on path" -# Ensure scilab executable is found (pour 6.0.2) - if ! test -f ~/galaxy/database/dependencies/scilab-6.0.2/bin/scilab-cli - then - conda-build ~/galaxy/tools/chemtools/detrend_sci/conda_scilab6.0.2 - #conda build purge - fi - -# Invoke scilab passing file named by first argument to stdin -~/galaxy/database/dependencies/scilab-6.0.2/bin/scilab-cli -quit -nb -f $* < $infile - -
