Skip to content
Snippets Groups Projects

Resolve "Design of the structure section in a system's page"

Merged Remi PLANEL requested to merge matrix-pdock into dev
2 files
+ 11
25
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -6,6 +6,7 @@ import MolstarPdbePlugin from './MolstarPdbePlugin.vue';
const { page } = useContent();
// get the structures
const structures = ref()
const structureTitle = ref("Structure")
const msIndexName = ref<string>("structure")
const stuctureUrls = ref<string[] | undefined>(undefined)
const headers = ref<Record<string, any>[]>([
@@ -51,6 +52,8 @@ function pdbNameToCif(pdbPath: string) {
}
function displayStructure(item) {
stuctureUrls.value = item.structuresUrls
console.log(item)
structureTitle.value = `${item.subtype} - ${item.gene_name}`
}
@@ -145,6 +148,6 @@ console.log(structures)
</v-row>
</template>
</v-data-table>
<PdbeMolstarPlugin v-model="stuctureUrls" />
<PdbeMolstarPlugin v-model="stuctureUrls" v-model:title="structureTitle" />
</v-card>
</template>
\ No newline at end of file
Loading