maom commited on
Commit
f7c7fad
Β·
verified Β·
1 Parent(s): 01c9d3a

add fungidb links

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -57,8 +57,10 @@ with col2:
57
 
58
  ######### Table #########
59
 
60
- fungidb_link_renderer = JsCode(
61
- β€œβ€β€œfunction(params) {return <a href="https://fungidb.org/fungidb/app/record/gene/${params.value}" target="_blank">${params.value}</a>}β€β€œβ€)
 
 
62
 
63
  grid_option_builder = GridOptionsBuilder()
64
  grid_option_builder.configure_auto_height()
 
57
 
58
  ######### Table #########
59
 
60
+ fungidb_link_renderer = JsCode("""
61
+ function(params) {return `<a href="https://fungidb.org/fungidb/app/record/gene/${params.value}" target="_blank">${params.value}</a>`}
62
+ """)
63
+
64
 
65
  grid_option_builder = GridOptionsBuilder()
66
  grid_option_builder.configure_auto_height()