Skip to content

Commit c3f3c37

Browse files
author
Baohong Zhang
committed
Upgrade to cellxgene v0.16.4
1 parent 031d95a commit c3f3c37

3 files changed

Lines changed: 2 additions & 18 deletions

File tree

config.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@ conda install -c conda-forge -y nodejs=13 fsspec=0.8.2
1515
rm -rf cellxgene
1616
git clone https://github.com/chanzuckerberg/cellxgene.git
1717
cd cellxgene
18-
<<<<<<< HEAD
1918
git checkout d99aac49564b98a51ebfab114fd59846c693fd62 # 735eb11eb78b5e6c35ba84438970d0ce369604e1 (v0.15.0)
20-
=======
21-
git checkout 735eb11eb78b5e6c35ba84438970d0ce369604e1
22-
>>>>>>> 062b82c9e32d649226ea12dd019b458f6aa5782d
2319
cd ..
2420

2521
## update the client-side source code of cellxgene for VIP

update.VIPInterface.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ cp -R ace $strweb
3030
cp -R stackedbar $strweb
3131
cp volcano.R $strPath/server/app/.
3232
cp Density2D.R $strPath/server/app/.
33-
find . -name "decode_fbs.py" -exec cp {} $strPath/server/app/. \;
33+
find ./cellxgene/server/ -name "decode_fbs.py" -exec cp {} $strPath/server/app/. \;
3434
fi
3535

3636
echo -e "\nls -l $strweb\n"

update.index_template.sh

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
#!/usr/bin/env bash
22
## obtain original index_template.html etc.
3-
<<<<<<< HEAD
4-
cd cellxgene; git checkout d99aac49564b98a51ebfab114fd59846c693fd62 client/index_template.html client/src/components/leftSidebar/topLeftLogoAndTitle.js client/src/components/leftSidebar/index.js; cd ..
5-
=======
63
cd cellxgene
7-
git checkout 735eb11eb78b5e6c35ba84438970d0ce369604e1 client/index_template.html client/src/components/leftSidebar/topLeftLogoAndTitle.js client/src/components/leftSidebar/index.js
4+
git checkout d99aac49564b98a51ebfab114fd59846c693fd62 client/index_template.html client/src/components/leftSidebar/topLeftLogoAndTitle.js client/src/components/leftSidebar/index.js
85
cd ..
9-
>>>>>>> 062b82c9e32d649226ea12dd019b458f6aa5782d
106

117
read -d '' insertL << EOF
128
<script src="https://interactivereport.github.io/cellxgene_VIP/static/jquery.min.js"></script>
@@ -45,11 +41,7 @@ read -d '' insertL << EOF
4541
},
4642
headerTitle: function () {return '<strong>Visualization in Plugin</strong>'},
4743
contentAjax: {
48-
<<<<<<< HEAD
49-
url: 'static/interface.html',
50-
=======
5144
url: window.location.href.replace(/\\\/+$/,'')+'/static/interface.html',
52-
>>>>>>> 062b82c9e32d649226ea12dd019b458f6aa5782d
5345
done: function (panel) {
5446
setInnerHTML(panel.content, this.responseText);
5547
}
@@ -81,13 +73,9 @@ sed -i "s|<div id=\"root\"></div>|$insertL\n&|" "cellxgene/client/index_template
8173
sed -i "s|logoRelatedPadding = 50|logoRelatedPadding = 60|" "cellxgene/client/src/components/leftSidebar/index.js"
8274

8375
strPath=$(python -c "import server as _; print(_.__file__.replace('/server/__init__.py',''))")
84-
<<<<<<< HEAD
8576
cd cellxgene/client; make build
8677
cp build/index.html $strPath/server/common/web/templates/
8778
rm $strPath/server/common/web/static/main-*.*
8879
rm $strPath/server/common/web/static/obsolete-*.*
8980
cp build/static/* $strPath/server/common/web/static/
9081
cd ../..
91-
=======
92-
cd cellxgene/client; make build; cp build/index.html $strPath/server/common/web/templates/; cd ../..
93-
>>>>>>> 062b82c9e32d649226ea12dd019b458f6aa5782d

0 commit comments

Comments
 (0)