Skip to content

Commit

Permalink
Fix a bug for not following description line
Browse files Browse the repository at this point in the history
  • Loading branch information
Baohong Zhang committed Oct 16, 2020
1 parent 472c16c commit ad093ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface.html
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ <h3>Brushed ranges</h3>
window.biogen=[];
window.bioGeneGrp={};
window.figOpt={scale:'No',scaleZero:'No',clipValue:'Yes',scaleMax:20,dpi:150,img:'png',fontsize:11,vectorFriendly:'Yes',transparent:'No',scanpybranch:'split_show',colorMap:'viridis'};
if (grpL[">Description"] !== undefined && !grpL[">Description"].categories[0].split(";")[1].includes("scale")) {
if (grpL[">Description"] !== undefined && grpL[">Description"].categories[0].split(";").length>1 && !grpL[">Description"].categories[0].split(";")[1].includes("scale")) {
window.figOpt['scale'] = "Yes";
}

Expand Down

0 comments on commit ad093ec

Please sign in to comment.