protvista-uniprot 4.6.3 → 4.6.4

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.6.3",
4
+ "version": "4.6.4",
5
5
  "files": [
6
6
  "dist",
7
7
  "src"
@@ -200,11 +200,13 @@ const processAFData = (
200
200
  ({ sequence }) => d.sequence === sequence
201
201
  );
202
202
 
203
- const isCanonical = isoformMatch.sequence === canonicalSequence;
204
203
  const isoformElement = isoformMatch
205
204
  ? html`<a
206
205
  href="${uniprotKBLink}${accession}/entry#${isoformMatch.isoformId}"
207
- >${isoformMatch.isoformId} ${isCanonical ? '(Canonical)' : ''}</a
206
+ >${isoformMatch.isoformId}
207
+ ${isoformMatch.sequence === canonicalSequence
208
+ ? '(Canonical)'
209
+ : ''}</a
208
210
  >`
209
211
  : null;
210
212
  return {