Mercurial > repos > siwaa > gama_legacy_run
view src/cmd_gama_headless_legacy_run.sh @ 1:0dc2c254d7a9 draft
planemo upload for repository https://forgemia.inra.fr/nathalie.rousse/use/-/tree/gama/GAMA_HEADLESS_LEGACY/galaxy-tools/gama_legacy_run commit 6b9b95de1fe709f27a28d83797f81e91469edf79-dirty
author | siwaa |
---|---|
date | Mon, 18 Nov 2024 13:59:03 +0000 |
parents | 986f43279bca |
children |
line wrap: on
line source
#!/bin/bash # Headless Legacy mode. # # Command to run an experiment plan XML file associated with a GAML file : # ./gama-headless.sh /path/to/file.xml /path/to/generated/outputFolder # with: # - /path/to/file.xml: path (relative or absolute) to the XML file # containing the full exploration plan to run by the headless. # - /path/to/generated/outputFolder: path (relative or absolute) # which will be generated by GAMA and hold every output files # (variables, snapshots, and console messages). # With : # - GAMA application in folder ./software # - [input] XML file path : ./exp/file.xml # - [input] GAML file (associated with XML file) path : ./exp/model.gaml # - [output] the outputs folder ./exp/outputs HOME=$(echo $PWD) cd software/gama-platform/headless; /bin/bash MY_gama-headless.sh ${HOME}/exp/file.xml ${HOME}/exp/outputs