Browse Source

fix former prop-set example

Sebastian Bittrich 2 years ago
parent
commit
9a7f882f5e
2 changed files with 5 additions and 6 deletions
  1. 1 0
      CHANGELOG.md
  2. 4 6
      src/viewer/index.html

+ 1 - 0
CHANGELOG.md

@@ -17,6 +17,7 @@
 
 ## [2.5.3] - 2022-07-24
 ### Bug fixes
+- [Breaking Change] renamed `prop-set` preset to `alignment`, renamed `representation` to `colors`
 - Pecos related changes
 
 ## [2.5.2] - 2022-07-21

+ 4 - 6
src/viewer/index.html

@@ -815,9 +815,8 @@
                             pdbId: '4HHB',
                             config: {
                                 props: {
-                                    kind: 'prop-set',
-                                    representation: [{
-                                        name: 'color',
+                                    kind: 'alignment',
+                                    colors: [{
                                         targets: [{
                                             labelAsymId: 'A',
                                             labelSeqRange: { beg: 4, end: 141 }
@@ -834,9 +833,8 @@
                             pdbId: '1OJ6',
                             config: {
                                 props: {
-                                    kind: 'prop-set',
-                                    representation: [{
-                                        name: 'color',
+                                    kind: 'alignment',
+                                    colors: [{
                                         targets: [{
                                             labelAsymId: 'A',
                                             labelSeqRange: { beg: 3, end: 44 }