-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added sankey plot using taxonomy report #96
base: master
Are you sure you want to change the base?
Conversation
// Read the taxonomy report | ||
taxonomyReportPath := filepath.Join(base, "alis_afsp_report") | ||
taxonomyReport, err := ReadTaxonomyReport(taxonomyReportPath) | ||
if err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this not return an empty taxonomy report if the file does not exist?
@@ -320,13 +330,76 @@ func ReadAlignments[T any, U interface{ ~uint32 | ~int64 }](id Id, entries []U, | |||
all = append(all, results) | |||
} | |||
reader.Delete() | |||
|
|||
// Read the taxonomy report | |||
taxonomyReportPath := filepath.Join(base, "alis_afsp_report") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be "alis_"+db+"_report"
@@ -106,7 +106,9 @@ | |||
</v-btn> | |||
</v-btn-toggle> | |||
</v-flex> | |||
|
|||
<v-flex> | |||
<SankeyDiagram :rawData="hits.results[0].taxonomyreport"></SankeyDiagram> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need a v-if for when hits is still null?
Created SankeyDiagram component and incorporated taxonomy sankey plot to the ResultView.