From 0a074c8a662da3f31a5b9ec0cf42c789efa6fc58 Mon Sep 17 00:00:00 2001
From: Alexander Rose <alex.rose@rcsb.org>
Date: Fri, 20 Sep 2019 11:08:01 -0700
Subject: [PATCH] add modelNum to location labels

---
 src/mol-theme/label.ts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/mol-theme/label.ts b/src/mol-theme/label.ts
index 4abe73ffa..4771f77da 100644
--- a/src/mol-theme/label.ts
+++ b/src/mol-theme/label.ts
@@ -85,9 +85,10 @@ export function linkLabel(link: Link.Location) {
 export type LabelGranularity = 'element' | 'residue' | 'chain' | 'structure'
 
 export function elementLabel(location: StructureElement.Location, granularity: LabelGranularity = 'element') {
-    const model = location.unit.model.entry
+    const entry = location.unit.model.entry
+    const model = `Model ${location.unit.model.modelNum}`
     const instance = location.unit.conformation.operator.name
-    const label = [model, instance]
+    const label = [entry, model, instance]
 
     if (Unit.isAtomic(location.unit)) {
         label.push(atomicElementLabel(location as StructureElement.Location<Unit.Atomic>, granularity))
-- 
GitLab