@datagrok/peptides 1.17.0 → 1.17.2

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.
Files changed (55) hide show
  1. package/.eslintrc.json +17 -6
  2. package/CHANGELOG.md +4 -0
  3. package/dist/214.js +2 -0
  4. package/dist/436.js +2 -2
  5. package/dist/802.js +2 -0
  6. package/dist/package-test.js +2 -3
  7. package/dist/package.js +2 -3
  8. package/package.json +14 -14
  9. package/src/demo/fasta.ts +8 -2
  10. package/src/model.ts +783 -532
  11. package/src/package-test.ts +1 -3
  12. package/src/package.ts +15 -28
  13. package/src/tests/benchmarks.ts +31 -11
  14. package/src/tests/core.ts +11 -6
  15. package/src/tests/misc.ts +6 -6
  16. package/src/tests/model.ts +79 -44
  17. package/src/tests/table-view.ts +48 -38
  18. package/src/tests/utils.ts +0 -76
  19. package/src/tests/viewers.ts +30 -12
  20. package/src/tests/widgets.ts +30 -11
  21. package/src/utils/algorithms.ts +115 -38
  22. package/src/utils/cell-renderer.ts +181 -72
  23. package/src/utils/constants.ts +33 -7
  24. package/src/utils/misc.ts +244 -10
  25. package/src/utils/parallel-mutation-cliffs.ts +18 -15
  26. package/src/utils/statistics.ts +70 -15
  27. package/src/utils/tooltips.ts +42 -17
  28. package/src/utils/types.ts +29 -26
  29. package/src/utils/worker-creator.ts +5 -0
  30. package/src/viewers/logo-summary.ts +591 -130
  31. package/src/viewers/sar-viewer.ts +893 -239
  32. package/src/widgets/distribution.ts +305 -64
  33. package/src/widgets/manual-alignment.ts +18 -11
  34. package/src/widgets/mutation-cliffs.ts +44 -18
  35. package/src/widgets/peptides.ts +86 -91
  36. package/src/widgets/selection.ts +56 -22
  37. package/src/widgets/settings.ts +94 -44
  38. package/src/workers/mutation-cliffs-worker.ts +3 -16
  39. package/dist/209.js +0 -2
  40. package/dist/361.js +0 -2
  41. package/dist/381.js +0 -2
  42. package/dist/770.js +0 -2
  43. package/dist/831.js +0 -2
  44. package/dist/868.js +0 -2
  45. package/dist/931.js +0 -3
  46. package/dist/931.js.LICENSE.txt +0 -51
  47. package/dist/932.js +0 -2
  48. package/dist/package-test.js.LICENSE.txt +0 -51
  49. package/dist/package.js.LICENSE.txt +0 -51
  50. package/src/tests/peptide-space-test.ts +0 -48
  51. package/src/tests/test-data.ts +0 -649
  52. package/src/utils/molecular-measure.ts +0 -174
  53. package/src/utils/peptide-similarity-space.ts +0 -216
  54. package/src/viewers/peptide-space-viewer.ts +0 -150
  55. package/src/workers/dimensionality-reducer.ts +0 -25
package/.eslintrc.json CHANGED
@@ -10,12 +10,15 @@
10
10
  "parserOptions": {
11
11
  "ecmaVersion": 12,
12
12
  "sourceType": "module",
13
- "project": ["tsconfig.json"]
13
+ "project": [
14
+ "tsconfig.json"
15
+ ]
14
16
  },
15
17
  "plugins": [
16
18
  "@typescript-eslint"
17
19
  ],
18
20
  "rules": {
21
+ "require-jsdoc": "off",
19
22
  "indent": [
20
23
  "error",
21
24
  2
@@ -25,9 +28,13 @@
25
28
  120
26
29
  ],
27
30
  "no-unused-vars": "off",
28
- "@typescript-eslint/no-unused-vars": ["warn", { "varsIgnorePattern": "^_", "argsIgnorePattern": "^_" }],
29
- "require-jsdoc": "off",
30
- "valid-jsdoc": "off",
31
+ "@typescript-eslint/no-unused-vars": [
32
+ "warn",
33
+ {
34
+ "varsIgnorePattern": "^_",
35
+ "argsIgnorePattern": "^_"
36
+ }
37
+ ],
31
38
  "spaced-comment": "off",
32
39
  "linebreak-style": "off",
33
40
  "curly": [
@@ -37,10 +44,14 @@
37
44
  "brace-style": [
38
45
  "error",
39
46
  "1tbs",
40
- { "allowSingleLine": true }
47
+ {
48
+ "allowSingleLine": true
49
+ }
41
50
  ],
42
51
  "block-spacing": 2,
43
- "@typescript-eslint/explicit-function-return-type": ["error"],
52
+ "@typescript-eslint/explicit-function-return-type": [
53
+ "error"
54
+ ],
44
55
  "@typescript-eslint/no-unsafe-return": "error"
45
56
  }
46
57
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Peptides changelog
2
2
 
3
+ ## 1.17.2 (2023-10-26)
4
+
5
+ * Improved dimensionality reduction (sequence space).
6
+
3
7
  ## 1.17.0 (2023-11-29)
4
8
 
5
9
  ### Features