Skip to content

Commit

Permalink
webresult with report re-generate button
Browse files Browse the repository at this point in the history
  • Loading branch information
rkimoakbioinformatics committed Jul 4, 2024
1 parent aa6cdd8 commit 538ddb0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions oakvar/gui/webresult/nocache/js/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -1403,6 +1403,18 @@ async function makeReportTab(rightDiv) {
})
addEl(generateDiv, a)
} else {
var generateDiv = getEl("div")
generateDiv.className = "w-0 flex-1 flex"
addEl(actionsDiv, generateDiv)
var a = getEl("a")
a.href = "#"
a.className = "relative -mr-px w-0 flex-1 inline-flex items-center justify-center py-4 text-sm text-gray-700 font-medium border border-transparent rounded-bl-lg hover:text-gray-500"
a.textContent = "Re-generate"
a.addEventListener("click", async function(_) {
this.textContent = "Generating..."
await generateReport(uid, dbPath, reportType)
})
addEl(generateDiv, a)
var downloadDiv = getEl("div")
downloadDiv.className = "w-0 flex-1 flex"
addEl(actionsDiv, downloadDiv)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def walk_and_add(d, pkg_files):
walk_and_add("cravat", cravat_files)
setup(
name="oakvar",
version="2.11.2",
version="2.11.3",
description="A genomic variant analysis platform",
long_description=long_description,
long_description_content_type="text/x-rst",
Expand Down

0 comments on commit 538ddb0

Please sign in to comment.