File tree 2 files changed +16
-2
lines changed
2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,15 @@ run_in_service cbioportal 'validateData.py -v -p /cbioportal/portalinfo -s /cbio
30
30
31
31
# load study_es_0 using API validation
32
32
echo " 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
34
35
+ sed -i ' s/db.version=.* /db.version=2.14.0/' /cbioportal-webapp/maven.properties
36
+ # Debug: Check version after modification
37
+ echo "Version after modification:"
38
+
39
+ cat /cbioportal-webapp/maven.properties
40
+
41
+ # Run the import
42
+ metaImport.py -v -u http://cbioportal-container:8080 -o -s /cbioportal/test/test_data/study_es_0/
43
+ '
35
44
exit 0
Original file line number Diff line number Diff line change @@ -12,7 +12,12 @@ run_in_service() {
12
12
13
13
# load study_es_0 using API validation
14
14
echo " 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.0/' /cbioportal-webapp/maven.properties
17
+ # Debug: Check version after modification
18
+ echo "Version after modification:"
19
+
20
+ metaImport.py -v -u http://cbioportal-container:8080 -o -s /cbioportal/test/test_data/study_oncokb_update/'
16
21
17
22
# execute updateOncokb script
18
23
run_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