protvista-uniprot 4.4.6 → 4.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "protvista-uniprot",
3
3
  "description": "ProtVista tool for the UniProt website",
4
- "version": "4.4.6",
4
+ "version": "4.4.7",
5
5
  "files": [
6
6
  "dist",
7
7
  "src"
@@ -185,7 +185,8 @@ const process3DBeaconsData = (data: BeaconsData): ProcessedStructureData[] => {
185
185
  positions: `${summary['uniprot_start']}-${summary['uniprot_end']}`,
186
186
  protvistaFeatureId: summary['model_identifier'],
187
187
  downloadLink: summary['model_url'],
188
- sourceDBLink: summary['model_page_url'],
188
+ // isoform.io does not have a model page url. Link to their homepage instead.
189
+ sourceDBLink: summary.provider === 'isoform.io' ? 'https://www.isoform.io/home' : summary['model_page_url'],
189
190
  })) || [];
190
191
  };
191
192
 
@@ -370,6 +371,7 @@ class ProtvistaUniprotStructure extends LitElement {
370
371
  if (providersFrom3DBeacons.includes(source)) {
371
372
  this.modelUrl = downloadLink;
372
373
  this.structureId = undefined;
374
+ this.metaInfo = undefined;
373
375
  } else {
374
376
  this.structureId = id;
375
377
  this.modelUrl = undefined;