Skip to content

Commit

Permalink
Molecular Viewer: Attempt no. 2
Browse files Browse the repository at this point in the history
  • Loading branch information
asherpasha committed Oct 11, 2016
1 parent ec950bd commit d410998
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions app/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ <h3 class="subtitle animate"> Select one of the tool icons to adjust the view. <
<div id="JSmol_container" style="width:100%;height:100%;position:absolute;left:0;top:0;opacity:0.99;">
</div>
<div id="dalliance_container" style="width:100%;height:100%;position:absolute;left:0;top:0;opacity:0.99;visibility:hidden;">
</div>
</div>
<canvas id="ZUI_canvas" width="900px" height="600px" style="position:absolute;left:0;top:0;outline:none;">
Canvas is not supported by your browser, please upgrade.
</canvas>
Expand Down Expand Up @@ -608,5 +608,5 @@ <h3 class="subtitle animate"> Select one of the tool icons to adjust the view. <
</div>
</div>
</div>
<div id='molHolder' style="position:relative;width:100%;height:100%"></div>
<!--<div id='molHolder' style="position:relative;width:100%;height:100%"></div>-->
</div>
4 changes: 2 additions & 2 deletions app/scripts/js/molViewer283.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@
//the name to use to create the jmol object
jMolObject : 'myJmol',
//
pfamUrlBar : '//bar.utoronto.ca/~gfucile/cdd3d/cgi-bin/PfamAnnot.cgi',
pfamUrlBar : Eplant.cdd3dUrl + 'PfamAnnot.cgi',
//
pfamUrlDev : 'ProxyServlet',
//
pfamParams : 'FASTAseq',
//
cddUrlBar : '//bar.utoronto.ca/~gfucile/cdd3d/cgi-bin/CDDannot.cgi',
cddUrlBar : Eplant.cdd3dUrl + 'CDDannot.cgi',
//
cddUrlDev : 'ProxyServlet',
//
Expand Down
8 changes: 4 additions & 4 deletions app/scripts/src/Eplant.MolViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@
//the name to use to create the jmol object
jMolObject : 'myJmol',
//
pfamUrlBar : '//bar.utoronto.ca/~gfucile/cdd3d/cgi-bin/PfamAnnot.cgi',
pfamUrlBar : Eplant.cdd3dUrl + 'PfamAnnot.cgi',
//
pfamUrlDev : 'ProxyServlet',
//pfamUrlDev : 'ProxyServlet',
//
pfamParams : 'FASTAseq',
//
cddUrlBar : '//bar.utoronto.ca/~gfucile/cdd3d/cgi-bin/CDDannot.cgi',
cddUrlBar : Eplant.cdd3dUrl + 'CDDannot.cgi',
//
cddUrlDev : 'ProxyServlet',
//cddUrlDev : 'ProxyServlet',
//
cddParams : 'FASTAseq',
//Turn off DSSP; Set default Van der Waals to babel; Turn off space fill;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@
//
pfamUrlBar : Eplant.cdd3dUrl + 'PfamAnnot.cgi',
//
pfamUrlDev : 'ProxyServlet',
//pfamUrlDev : 'ProxyServlet',
//
cddUrlBar : Eplant.cdd3dUrl + 'CDDannot.cgi',
//
cddUrlDev : 'ProxyServlet',
//cddUrlDev : 'ProxyServlet',
/*
* background HOVER - background color for the hover label when letting mouse over atom
* color HOVER - text color for the hover label when letting mouse over atom
Expand Down Expand Up @@ -1312,7 +1312,7 @@
else if(window.location.hostname.indexOf('bar.utoronto.ca') > -1)//running at bar.utoronto.ca server
u = this.config.application.cddUrlBar;
else//dev environment
u = this.config.application.cddUrlDev;
u = this.config.application.cddUrlBar; // Araport

this.viewer.Xhrs.getCDDXhr = $.ajax({
beforeSend: function(request) {
Expand Down Expand Up @@ -1465,7 +1465,7 @@
else if(window.location.hostname.indexOf('bar.utoronto.ca') > -1)//running at bar.utoronto.ca server
u = this.config.application.pfamUrlBar;
else//dev environment
u = this.config.application.pfamUrlDev;
u = this.config.application.pfamUrlBar; // Araport!

this.viewer.Xhrs.getPfamXhr = $.ajax({
beforeSend: function(request) {
Expand Down

0 comments on commit d410998

Please sign in to comment.