File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,13 @@ run_in_service cbioportal 'validateData.py -v -p /cbioportal/portalinfo -s /cbio
3030
3131# load study_es_0 using API validation
3232echo " Testing loading of study with API validation..."
33- run_in_service cbioportal ' metaImport.py -v -u http://cbioportal-container:8080 -o -s /cbioportal/test/test_data/study_es_0/'
33+ run_in_service cbioportal '
34+ sed -i ' s/db.version=.* /db.version=2.14.2/' /cbioportal-webapp/maven.properties
35+ # Debug: Check version after modification
36+ echo "Version after modification:"
37+ cat /cbioportal-webapp/maven.properties
38+ # Run the import
39+ metaImport.py -v -u http://cbioportal-container:8080 -o -s /cbioportal/test/test_data/study_es_0/
40+ '
3441
3542exit 0
Original file line number Diff line number Diff line change @@ -12,7 +12,12 @@ run_in_service() {
1212
1313# load study_es_0 using API validation
1414echo " Testing update of OncoKB annotations..."
15- run_in_service cbioportal ' metaImport.py -v -u http://cbioportal-container:8080 -o -s /cbioportal/test/test_data/study_oncokb_update/'
15+ run_in_service cbioportal '
16+ sed -i ' s/db.version=.* /db.version=2.14.2/' /cbioportal-webapp/maven.properties
17+ # Debug: Check version after modification
18+ echo "Version after modification:"
19+ metaImport.py -v -u http://cbioportal-container:8080 -o -s /cbioportal/test/test_data/study_oncokb_update/
20+ '
1621
1722# execute updateOncokb script
1823run_in_service cbioportal ' python3 /core/scripts/importer/updateOncokbAnnotations.py -s study_es_0 -p /cbioportal-webapp/application.properties'
You can’t perform that action at this time.
0 commit comments