Mercurial > repos > jcb-mpl > install_scilab611_fact
view install_scilab611_fact.xml @ 2:6c01f5306618 draft
Uploaded
author | jcb-mpl |
---|---|
date | Tue, 30 Nov 2021 15:09:11 +0000 |
parents | ead7333d2d81 |
children | cf21ef76d436 |
line wrap: on
line source
<tool id="V19.10_inst_scilab" name="Install Scilab-6.1.1" version="0.0.1"> <description> install scilab </description> <stdio> <exit_code range="1:" level="fatal" /> </stdio> <command><![CDATA[ if [ ! -d $__root_dir__/packages/scilab-6.1.1 ]; then wget -P $__root_dir__/packages/ https://www.scilab.org/download/6.1.1/scilab-6.1.1.bin.linux-x86_64.tar.gz && tar -xvf $__root_dir__/packages/scilab-6.1.1.bin.linux-x86_64.tar.gz -C $__root_dir__/packages/ && rm $__root_dir__/packages/scilab-6.1.1.bin.linux-x86_64.tar.gz; fi; $__root_dir__/packages/scilab-6.1.1/bin/scilab-cli -nb -quit -f $* < ${script_file} ]]> </command> <configfiles> <configfile name="script_file"> <![CDATA[ if ~isdef('pls') then ... atomsSystemUpdate(); ... atomsInstall('FACT'); ... atomsLoad('FACT'); ... end; ... x=${Xvalue}; ... y=2*div(x); ... y2=y.d; ... ${Result}=y2; ]]> </configfile> </configfiles> <inputs> <param name="Xvalue" type="data" formar="tabular" label="Input matrix of data" /> </inputs> <outputs> <data name="Result" format="tabular" label="Res"/> </outputs> <tests> <test> <param name="Xvalue" value="X2.tabular"/> <output name="Result" > <assert_contents> <has_text text="436"/> <has_text text="4240"/> </assert_contents> </output> </test> </tests> <help><![CDATA[ .. class:: warningmark **TIP:** If your data is not TAB delimited, use *Convert format data Tools->Convert* ---------------------------------------------------------------------- =========================================== INSTALLATION OF SCILAB AND ITS FACT TOOLBOX =========================================== ----------- Description ----------- This functions performs two processes: 1) the download + unzip of Scilab-6.1.1 in the folder: galaxy/packages/scilab-6.1.1, 2) the installation of the FACT toolbox in Scilab. Once Scilab+Fact have been correctly installed, this function can be removed from the Galaxy menu. ----------- Input files ----------- **Xvalue** An integer ------------ Output files ------------ **Result** The input value multiplied by 2 ]]> </help> <citations> </citations> </tool>