Skip to content

Commit

Permalink
close #65
Browse files Browse the repository at this point in the history
  • Loading branch information
gurdeep330 committed Jun 22, 2023
1 parent 5f7c4f0 commit b09daea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions webApp/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,10 @@ def makeOutputJson(uniqID, results, mycursor) -> dict:
dic['LDvNAI'] = results['predictions'][name]['LDvNAI']
dic['RvN'] = results['predictions'][name]['RvN']
dic['AIvLD'] = results['predictions'][name]['AIvLD']
# print (dic['AIvLD'].split(), name)
if dic['AIvLD'].lstrip().rstrip() == 'NA':
# print (name)
dic['view'] = '-'
dic['hmmPos'] = results['predictions'][name]['hmmPos']
dic['alnPos'] = results['predictions'][name]['alnPos']
adjacentSites = results['predictions'][name]['adjacentSites']
Expand Down
2 changes: 1 addition & 1 deletion webApp/static/js/outputFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function defineDataTable (tableID, uniqID)
if ( data.AIvLD >= 0.5 ) {
$('td:eq(13)', row).css('background-color', '#009e73');
}
else {
else if ( data.AIvLD < 0.5 ) {
$('td:eq(13)', row).css('background-color', '#d55e00');
}
},
Expand Down

0 comments on commit b09daea

Please sign in to comment.