annotate run.sh @ 6:da177c1ec3b4 draft default tip

planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_uep_opt commit 389608650050596b28bc0c055de9f98c513a6f65
author muon-spectroscopy-computational-project
date Fri, 26 Jul 2024 12:58:04 +0000
parents eea73e1f65cb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e4097a3e3e75 planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_uep_opt commit d130cf2c46d933fa9d0214ddbd5ddf860f322dc4
muon-spectroscopy-computational-project
parents:
diff changeset
1 #! /bin/bash
e4097a3e3e75 planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_uep_opt commit d130cf2c46d933fa9d0214ddbd5ddf860f322dc4
muon-spectroscopy-computational-project
parents:
diff changeset
2
e4097a3e3e75 planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_uep_opt commit d130cf2c46d933fa9d0214ddbd5ddf860f322dc4
muon-spectroscopy-computational-project
parents:
diff changeset
3 set -o errexit
e4097a3e3e75 planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_uep_opt commit d130cf2c46d933fa9d0214ddbd5ddf860f322dc4
muon-spectroscopy-computational-project
parents:
diff changeset
4
5
eea73e1f65cb planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_uep_opt commit 8e96fbcca17150ece3ee6bf15bf0969bd014a5ca
muon-spectroscopy-computational-project
parents: 4
diff changeset
5 for x in $1/*/*/*.yaml
eea73e1f65cb planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_uep_opt commit 8e96fbcca17150ece3ee6bf15bf0969bd014a5ca
muon-spectroscopy-computational-project
parents: 4
diff changeset
6 do
eea73e1f65cb planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_uep_opt commit 8e96fbcca17150ece3ee6bf15bf0969bd014a5ca
muon-spectroscopy-computational-project
parents: 4
diff changeset
7
eea73e1f65cb planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_uep_opt commit 8e96fbcca17150ece3ee6bf15bf0969bd014a5ca
muon-spectroscopy-computational-project
parents: 4
diff changeset
8 if ! out=$(pm-uep-opt $x)
eea73e1f65cb planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_uep_opt commit 8e96fbcca17150ece3ee6bf15bf0969bd014a5ca
muon-spectroscopy-computational-project
parents: 4
diff changeset
9 then
eea73e1f65cb planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_uep_opt commit 8e96fbcca17150ece3ee6bf15bf0969bd014a5ca
muon-spectroscopy-computational-project
parents: 4
diff changeset
10 echo 1>&2 "$out"; exit 1
0
e4097a3e3e75 planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_uep_opt commit d130cf2c46d933fa9d0214ddbd5ddf860f322dc4
muon-spectroscopy-computational-project
parents:
diff changeset
11 else
5
eea73e1f65cb planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_uep_opt commit 8e96fbcca17150ece3ee6bf15bf0969bd014a5ca
muon-spectroscopy-computational-project
parents: 4
diff changeset
12 echo "$out"
0
e4097a3e3e75 planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_uep_opt commit d130cf2c46d933fa9d0214ddbd5ddf860f322dc4
muon-spectroscopy-computational-project
parents:
diff changeset
13 fi
5
eea73e1f65cb planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_uep_opt commit 8e96fbcca17150ece3ee6bf15bf0969bd014a5ca
muon-spectroscopy-computational-project
parents: 4
diff changeset
14 done || exit
eea73e1f65cb planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_uep_opt commit 8e96fbcca17150ece3ee6bf15bf0969bd014a5ca
muon-spectroscopy-computational-project
parents: 4
diff changeset
15 #pm-uep-opt