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

landscape false

parent 88ad6e19
No related branches found
No related tags found
No related merge requests found
Pipeline #120509 canceled
...@@ -107,7 +107,7 @@ const pdbeMolstarComponent = ref(null) ...@@ -107,7 +107,7 @@ const pdbeMolstarComponent = ref(null)
const selectedPdb: Ref<string | null> = ref(null) const selectedPdb: Ref<string | null> = ref(null)
const structureToDownload: Ref<string | null> = ref(null) const structureToDownload: Ref<string | null> = ref(null)
const selectedPaePath = computed(() => { const selectedPaePath = computed(() => {
return selectedPdb.value ? `${selectedPdb.value.split(".").slice(0, -1).join('.')}.png` : null return selectedPdb.value ? `${selectedPdb.value.split(".").slice(0, -1).join('.')}.png` : undefined
}) })
watch(selectedPdb, (newSelectedPdb, prevSelectPdb) => { watch(selectedPdb, (newSelectedPdb, prevSelectPdb) => {
...@@ -191,7 +191,7 @@ const moleculeFormat: Ref<string> = ref("pdb") ...@@ -191,7 +191,7 @@ const moleculeFormat: Ref<string> = ref("pdb")
<v-sheet v-if="selectedPdb" <v-sheet v-if="selectedPdb"
class="d-flex align-center justify-center flex-wrap text-center mx-auto px-4 my-3" class="d-flex align-center justify-center flex-wrap text-center mx-auto px-4 my-3"
:height="computedHeight" :width="computedWidth" position="relative"> :height="computedHeight" :width="computedWidth" position="relative">
<pdbe-molstar ref="pdbeMolstarComponent" landscape :custom-data-url="selectedPdb" alphafold-view <pdbe-molstar ref="pdbeMolstarComponent" :custom-data-url="selectedPdb" alphafold-view
sequence-panel :custom-data-format="moleculeFormat"></pdbe-molstar> sequence-panel :custom-data-format="moleculeFormat"></pdbe-molstar>
</v-sheet> </v-sheet>
</v-col> </v-col>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment