54ea59ee208f0e498cfeb3d6ca7f1478fca8d5a4 hiram Wed Sep 11 13:31:29 2024 -0700 adding documention for all pop up informations boxes refs #32596 diff --git src/hg/js/assemblySearch.js src/hg/js/assemblySearch.js index 88c3cf6..035d175 100644 --- src/hg/js/assemblySearch.js +++ src/hg/js/assemblySearch.js @@ -248,38 +248,38 @@ document.getElementById('submitSearch').click(); } } document.getElementById("measureTiming").style.display = "none"; }); // refresh the thead columns in the specified table function headerRefresh(tableHead) { // clear existing content tableHead.innerHTML = ''; // re-populate header row - the sortable system added a class to // the last sorted column, need to rebuild the headerRow to get the // header back to pristine condition for the next sort var headerRow = ''; let circleQuestion = ' ??'; - headerRow += '
View/
Request ⓘ"view" opens the genome browser for an existing assembly, "request" opens an assembly request form.
'; + headerRow += '
View/
Request ⓘView opens the genome browser for an existing assembly, Request opens an assembly request form.
'; headerRow += '
English common name ⓘEnglish common name
'; - headerRow += '
Scientific name ⓘscientific name
'; + headerRow += '
Scientific name ⓘBinomial scientific name
'; headerRow += '
NCBI Assembly ⓘLinks to NCBI resource record
or UCSC downloads for local UCSC assemblies
'; headerRow += '
Year ⓘYear assembly was released.
'; - headerRow += '
GenArk clade ⓘclade specification as found in the GenArk system.
'; - headerRow += '
Description ⓘother meta data for this assembly.
'; - headerRow += '
Status ⓘvarious other status
'; + headerRow += '
GenArk clade ⓘClade specification as found in the GenArk system, this is not a strict taxonomy category, merely a division of assemblies into several categories.
'; + headerRow += '
Description ⓘDescription may include other names, the taxId, year of assembly release and assembly center.
'; + headerRow += '
Status ⓘWhen specified, status will show the Assembly status the RefSeq category and the Assembly level.
'; headerRow += ''; tableHead.innerHTML = headerRow; } // call with visible true to make visible, false to hide function advancedSearchVisible(visible) { var advancedSearchButton = document.getElementById("advancedSearchButton"); var searchOptions = document.getElementById("advancedSearchOptions"); if (visible) { searchOptions.style.display = "flex"; advancedSearchButton.textContent = "Hide advanced search options"; stateObject.advancedSearchVisible = true; } else { searchOptions.style.display = "none"; advancedSearchButton.textContent = "Show advanced search options"; @@ -413,38 +413,38 @@ browserUrl = "View"; asmInfoUrl = "" + id + ""; } dataRow += "" + browserUrl + ""; } else { dataRow += ""; } dataRow += "" + genomicEntries[id].commonName + ""; dataRow += "" + genomicEntries[id].scientificName + ""; dataRow += "" + asmInfoUrl + ""; dataRow += "" + genomicEntries[id].year + ""; dataRow += "" + genomicEntries[id].clade + ""; dataRow += "" + genomicEntries[id].description + ""; var status = "" + genomicEntries[id].priority + " "; var hardSpace = " "; - if (genomicEntries[id].refSeqCategory) { - status += " " + genomicEntries[id].refSeqCategory; - hardSpace = ""; - } if (genomicEntries[id].versionStatus) { status += " " + genomicEntries[id].versionStatus; hardSpace = ""; } + if (genomicEntries[id].refSeqCategory) { + status += " " + genomicEntries[id].refSeqCategory; + hardSpace = ""; + } if (genomicEntries[id].assemblyLevel) { status += " " + genomicEntries[id].assemblyLevel; hardSpace = ""; } status += ""; // status += hardSpace + ""; dataRow += status; dataRow += ''; tableBody.innerHTML += dataRow; } var dataTable = document.getElementById('dataTable'); sorttable.makeSortable(dataTable); var itemCount = parseInt(extraInfo.itemCount, 10); var totalMatchCount = parseInt(extraInfo.totalMatchCount, 10);