comparison src/cmd_gama_headless_legacy_run.sh @ 0:986f43279bca draft

planemo upload for repository https://forgemia.inra.fr/nathalie.rousse/use/-/tree/gama/GAMA_HEADLESS_LEGACY/galaxy-tools/gama_legacy_run commit 14769577c04bcb2781b2d240f1f57a2342169cce-dirty
author siwaa
date Fri, 02 Aug 2024 18:03:16 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:986f43279bca
1 #!/bin/bash
2
3 # Headless Legacy mode.
4 #
5 # Command to run an experiment plan XML file associated with a GAML file :
6 # ./gama-headless.sh /path/to/file.xml /path/to/generated/outputFolder
7 # with:
8 # - /path/to/file.xml: path (relative or absolute) to the XML file
9 # containing the full exploration plan to run by the headless.
10 # - /path/to/generated/outputFolder: path (relative or absolute)
11 # which will be generated by GAMA and hold every output files
12 # (variables, snapshots, and console messages).
13
14 # With :
15 # - GAMA application in folder ./software
16 # - [input] XML file path : ./exp/file.xml
17 # - [input] GAML file (associated with XML file) path : ./exp/model.gaml
18 # - [output] the outputs folder ./exp/outputs
19
20 HOME=$(echo $PWD)
21 cd software/gama-platform/headless;
22 /bin/bash MY_gama-headless.sh ${HOME}/exp/file.xml ${HOME}/exp/outputs
23