comparison run.sh @ 0:43fb752fc295 draft

planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_dftb_opt commit d130cf2c46d933fa9d0214ddbd5ddf860f322dc4
author muon-spectroscopy-computational-project
date Thu, 25 Aug 2022 16:18:08 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:43fb752fc295
1 #! /bin/bash
2
3 set -o errexit
4 [ ! -d "$1/dftb+" ] && ( echo 1>&2 "no dftb+ structures found" && exit 2 )
5 for x in $1/dftb+/*
6 do
7
8 if ! out=$(echo $x && cd $x && dftb+)
9 then
10 echo 1>&2 "$out"; exit 3
11 else
12 echo "$out"
13 fi
14 done || exit