Mercurial > repos > muon-spectroscopy-computational-project > pm_dftb_opt
view run.sh @ 3:996f777bec11 draft default tip
planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_dftb_opt commit 389608650050596b28bc0c055de9f98c513a6f65
author | muon-spectroscopy-computational-project |
---|---|
date | Fri, 26 Jul 2024 12:57:29 +0000 |
parents | 43fb752fc295 |
children |
line wrap: on
line source
#! /bin/bash set -o errexit [ ! -d "$1/dftb+" ] && ( echo 1>&2 "no dftb+ structures found" && exit 2 ) for x in $1/dftb+/* do if ! out=$(echo $x && cd $x && dftb+) then echo 1>&2 "$out"; exit 3 else echo "$out" fi done || exit