From f17cccf38e01c0dc6c34475481ca5ea12788e24d Mon Sep 17 00:00:00 2001 From: Thomas Applencourt Date: Sat, 2 May 2015 13:43:59 +0200 Subject: [PATCH] Suport pseudo in qp_create --- scripts/get_basis.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/scripts/get_basis.sh b/scripts/get_basis.sh index af493a3f..5cd6543c 100755 --- a/scripts/get_basis.sh +++ b/scripts/get_basis.sh @@ -43,5 +43,13 @@ then exit 1 fi -${EMSL_API_ROOT}/EMSL_api.py get_basis_data --treat_l --save --path="${tmpfile}" --basis="${basis}" -#${EMSL_API_ROOT}/EMSL_api.py get_basis_data --treat_l --save --path="${tmpfile}" --basis="${basis}" --db_path="${EMSL_API_ROOT}/db/Pseudo.db" \ No newline at end of file +pseudo="$1" +shift + +if [[ -z $pseudo ]] +then + ${EMSL_API_ROOT}/EMSL_api.py get_basis_data --treat_l --save --path="${tmpfile}" --basis="${basis}" +else + ${EMSL_API_ROOT}/EMSL_api.py get_basis_data --treat_l --save --path="${tmpfile}" --basis="${basis}" --db_path="${EMSL_API_ROOT}/db/Pseudo.db" +fi +