From 8d2002fb12c9fb7498ab0104c265bb0265b3ee6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=94=A7=20Ino=20de=20Bruijn=20=F0=9F=A7=AC?= Date: Thu, 29 Feb 2024 07:42:48 -0600 Subject: [PATCH] fix validateStudies.py path --- .circleci/validate_all_studies.sh | 2 +- .circleci/validate_changed_studies.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/validate_all_studies.sh b/.circleci/validate_all_studies.sh index ae8e640ffb..aaf1aea575 100755 --- a/.circleci/validate_all_studies.sh +++ b/.circleci/validate_all_studies.sh @@ -11,7 +11,7 @@ git lfs pull -I "public" num_studies=${#list_of_study_dirs[@]} test_reports_location="$HOME/test-reports" -validation_command="$HOME/cbioportal/core/src/main/scripts/importer/./validateStudies.py -d $HOME/repo/public/ -p $HOME/repo/.circleci/portalinfo -html $test_reports_location" +validation_command="$HOME/cbioportal-core/src/main/resources/resources/scripts/importer/./validateStudies.py -d $HOME/repo/public/ -p $HOME/repo/.circleci/portalinfo -html $test_reports_location" echo $'\nExecuting: '; echo $validation_command if sh -c "$validation_command" ; then echo "Tests passed successfully" diff --git a/.circleci/validate_changed_studies.sh b/.circleci/validate_changed_studies.sh index aa5c285d86..992e6a5f87 100755 --- a/.circleci/validate_changed_studies.sh +++ b/.circleci/validate_changed_studies.sh @@ -56,13 +56,13 @@ if [[ $num_studies > 0 ]]; then # fi # append the first study if [ "$validation_command" = "" ] ; then - validation_command="($HOME/cbioportal-core/src/main/scripts/importer/./validateStudies.py -d $HOME/repo/ -l $study -p $HOME/repo/.circleci/portalinfo -html $test_reports_location/$study" + validation_command="($HOME/cbioportal-core/src/main/resources/resources/resources/scripts/importer/./validateStudies.py -d $HOME/repo/ -l $study -p $HOME/repo/.circleci/portalinfo -html $test_reports_location/$study" else # run each validation individually in the background if [ $mod = 0 ] ; then - validation_command="${validation_command}) & ($HOME/cbioportal-core/src/main/scripts/importer/./validateStudies.py -d $HOME/repo/ -l $study -p $HOME/repo/.circleci/portalinfo -html $test_reports_location/$study" + validation_command="${validation_command}) & ($HOME/cbioportal-core/src/main/resources/resources/resources/scripts/importer/./validateStudies.py -d $HOME/repo/ -l $study -p $HOME/repo/.circleci/portalinfo -html $test_reports_location/$study" else - validation_command="${validation_command} ; $HOME/cbioportal-core/src/main/scripts/importer/./validateStudies.py -d $HOME/repo/ -l $study -p $HOME/repo/.circleci/portalinfo -html $test_reports_location/$study" + validation_command="${validation_command} ; $HOME/cbioportal-core/src/main/resources/resources/resources/scripts/importer/./validateStudies.py -d $HOME/repo/ -l $study -p $HOME/repo/.circleci/portalinfo -html $test_reports_location/$study" fi fi done