Skip to content

Commit

Permalink
Use structure table for unclustered data
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Sep 20, 2024
1 parent 5794238 commit 5288142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/haddock/libs/libplots.py
Original file line number Diff line number Diff line change
Expand Up @@ -1072,11 +1072,11 @@ def _generate_unclustered_table_html(
}}
</script>
<script type="module">
import {{ renderClusterTable }} from "{bundle_url}";
import {{ renderStructureTable }} from "{bundle_url}";
const props = JSON.parse(document.getElementById("data{table_id}").text)
renderClusterTable(document.getElementById('{table_id}'), props.headers, props.structures)
renderStructureTable(document.getElementById('{table_id}'), props.headers, props.structures)
</script>""" # noqa : E501


Expand Down

0 comments on commit 5288142

Please sign in to comment.