Skip to content
Snippets Groups Projects
Commit da763fdd authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

display num residus when too large

parent f3bd6728
No related branches found
No related tags found
1 merge request!134Resolve "Table with all PDB files, to make them available to download"
Pipeline #118412 passed with stages
in 7 minutes and 32 seconds
......@@ -110,7 +110,7 @@ watch(selectedPaePath, async (newPaePath) => {
console.log(data[0][0])
console.log(data?.[0]?.[0] !== undefined)
if (data.length > 500) {
paeError.value = "The PAE is too large to be displayed"
paeError.value = `The PAE is too large to be displayed (${data.length} residus)`
paeData.value = []
}
else if (data?.[0]?.[0] === undefined) {
......@@ -163,8 +163,6 @@ watch(selectedPdb, (newSelectedPdb, prevSelectPdb) => {
if (newSelectedPdb !== null) {
dialog.value = true
const format = toValue(newSelectedPdb)?.split(".").slice(-1)[0]?.toLowerCase() ?? "pdb"
console.log(toValue(newSelectedPdb)?.split(".").slice(-1))
console.log(format)
moleculeFormat.value = format
if (pdbeMolstarComponent.value?.viewerInstance) {
const viewerInstance = pdbeMolstarComponent.value.viewerInstance
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment