Skip to content

Commit

Permalink
Upgrade to cellxgene v0.16.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Baohong Zhang committed Sep 24, 2020
1 parent 031d95a commit c3f3c37
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
4 changes: 0 additions & 4 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ conda install -c conda-forge -y nodejs=13 fsspec=0.8.2
rm -rf cellxgene
git clone https://github.com/chanzuckerberg/cellxgene.git
cd cellxgene
<<<<<<< HEAD
git checkout d99aac49564b98a51ebfab114fd59846c693fd62 # 735eb11eb78b5e6c35ba84438970d0ce369604e1 (v0.15.0)
=======
git checkout 735eb11eb78b5e6c35ba84438970d0ce369604e1
>>>>>>> 062b82c9e32d649226ea12dd019b458f6aa5782d
cd ..

## update the client-side source code of cellxgene for VIP
Expand Down
2 changes: 1 addition & 1 deletion update.VIPInterface.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ cp -R ace $strweb
cp -R stackedbar $strweb
cp volcano.R $strPath/server/app/.
cp Density2D.R $strPath/server/app/.
find . -name "decode_fbs.py" -exec cp {} $strPath/server/app/. \;
find ./cellxgene/server/ -name "decode_fbs.py" -exec cp {} $strPath/server/app/. \;
fi

echo -e "\nls -l $strweb\n"
Expand Down
14 changes: 1 addition & 13 deletions update.index_template.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
#!/usr/bin/env bash
## obtain original index_template.html etc.
<<<<<<< HEAD
cd cellxgene; git checkout d99aac49564b98a51ebfab114fd59846c693fd62 client/index_template.html client/src/components/leftSidebar/topLeftLogoAndTitle.js client/src/components/leftSidebar/index.js; cd ..
=======
cd cellxgene
git checkout 735eb11eb78b5e6c35ba84438970d0ce369604e1 client/index_template.html client/src/components/leftSidebar/topLeftLogoAndTitle.js client/src/components/leftSidebar/index.js
git checkout d99aac49564b98a51ebfab114fd59846c693fd62 client/index_template.html client/src/components/leftSidebar/topLeftLogoAndTitle.js client/src/components/leftSidebar/index.js
cd ..
>>>>>>> 062b82c9e32d649226ea12dd019b458f6aa5782d

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

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

0 comments on commit c3f3c37

Please sign in to comment.