diff --git a/oakvar/gui/webresult/nocache/js/setup.js b/oakvar/gui/webresult/nocache/js/setup.js index 67db5e34..1691092a 100644 --- a/oakvar/gui/webresult/nocache/js/setup.js +++ b/oakvar/gui/webresult/nocache/js/setup.js @@ -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) diff --git a/setup.py b/setup.py index c7084660..53ebfbb4 100644 --- a/setup.py +++ b/setup.py @@ -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",