@datagrok/peptides 0.8.14 → 1.0.1

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 (39) hide show
  1. package/.eslintrc.json +5 -2
  2. package/dist/package-test.js +1451 -2252
  3. package/dist/package.js +1277 -2105
  4. package/dist/vendors-node_modules_datagrok-libraries_ml_src_workers_dimensionality-reducer_js.js +9 -25
  5. package/package.json +10 -14
  6. package/package.png +0 -0
  7. package/src/model.ts +565 -599
  8. package/src/monomer-library.ts +31 -30
  9. package/src/package-test.ts +5 -6
  10. package/src/package.ts +52 -70
  11. package/src/tests/core.ts +67 -0
  12. package/src/tests/msa-tests.ts +3 -3
  13. package/src/tests/peptide-space-test.ts +65 -45
  14. package/src/tests/utils.ts +20 -50
  15. package/src/utils/cell-renderer.ts +86 -151
  16. package/src/utils/chem-palette.ts +3 -14
  17. package/src/utils/constants.ts +7 -0
  18. package/src/utils/filtering-statistics.ts +21 -53
  19. package/src/utils/misc.ts +29 -0
  20. package/src/utils/multiple-sequence-alignment.ts +5 -18
  21. package/src/utils/multivariate-analysis.ts +5 -8
  22. package/src/utils/peptide-similarity-space.ts +11 -8
  23. package/src/utils/types.ts +5 -2
  24. package/src/viewers/peptide-space-viewer.ts +66 -40
  25. package/src/viewers/sar-viewer.ts +35 -38
  26. package/src/viewers/stacked-barchart-viewer.ts +42 -83
  27. package/src/widgets/analyze-peptides.ts +64 -76
  28. package/src/widgets/distribution.ts +172 -47
  29. package/src/widgets/manual-alignment.ts +8 -12
  30. package/src/widgets/peptide-molecule.ts +48 -25
  31. package/src/widgets/subst-table.ts +53 -52
  32. package/src/workers/dimensionality-reducer.ts +2 -7
  33. package/{test-Peptides-2f94f62b59a8-c6d7c434.html → test-Peptides-34f75e5127b8-4210edfc.html} +2 -2
  34. package/src/peptides.ts +0 -327
  35. package/src/semantics.ts +0 -5
  36. package/src/tests/peptides-tests.ts +0 -60
  37. package/src/utils/SAR-multiple-filter.ts +0 -439
  38. package/src/utils/SAR-multiple-selection.ts +0 -177
  39. package/src/viewers/logo-viewer.ts +0 -195
package/.eslintrc.json CHANGED
@@ -9,7 +9,8 @@
9
9
  "parser": "@typescript-eslint/parser",
10
10
  "parserOptions": {
11
11
  "ecmaVersion": 12,
12
- "sourceType": "module"
12
+ "sourceType": "module",
13
+ "project": ["tsconfig.json"]
13
14
  },
14
15
  "plugins": [
15
16
  "@typescript-eslint"
@@ -35,6 +36,8 @@
35
36
  "1tbs",
36
37
  { "allowSingleLine": true }
37
38
  ],
38
- "block-spacing": 2
39
+ "block-spacing": 2,
40
+ "@typescript-eslint/explicit-function-return-type": ["error"],
41
+ "@typescript-eslint/no-unsafe-return": "error"
39
42
  }
40
43
  }