polyluxus / tools-for-g09.bash

Various bash scripts to aid the use of the quantum chemistry software package Gaussian 09.
14 stars 5 forks source link

g09.chk2xyz -f issues a silly error when no checkpoint files are found #18

Closed polyluxus closed 6 years ago

polyluxus commented 6 years ago
WARNING:  Specified file '*.chk' is no file or does not exist.
WARNING:  Specified file '*.chk' is not readable.
ERROR  :  There have been one or more errors.

Should exit with

ERROR  :  There are no checkpointfiles in this directory.

maybe add something like

[[ "$input_chk" == "*.chk" ]] && fatal "..."

into format_all.