@sjcrh/proteinpaint-server 2.143.0 → 2.144.0

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-server",
3
- "version": "2.143.0",
3
+ "version": "2.144.0",
4
4
  "type": "module",
5
5
  "description": "a genomics visualization tool for exploring a cohort's genotype and phenotype data",
6
6
  "main": "src/app.js",
@@ -61,11 +61,11 @@
61
61
  },
62
62
  "dependencies": {
63
63
  "@sjcrh/augen": "2.143.0",
64
- "@sjcrh/proteinpaint-python": "2.143.0",
64
+ "@sjcrh/proteinpaint-python": "2.144.0",
65
65
  "@sjcrh/proteinpaint-r": "2.137.2-0",
66
66
  "@sjcrh/proteinpaint-rust": "2.143.0",
67
67
  "@sjcrh/proteinpaint-shared": "2.143.0",
68
- "@sjcrh/proteinpaint-types": "2.143.0",
68
+ "@sjcrh/proteinpaint-types": "2.144.0",
69
69
  "@types/express": "^5.0.0",
70
70
  "@types/express-session": "^1.18.1",
71
71
  "better-sqlite3": "^9.4.1",
package/routes/grin2.js CHANGED
@@ -75,9 +75,11 @@ async function runGrin2(g, ds, request) {
75
75
  chromosomelist: {},
76
76
  lesion: JSON.stringify(lesions),
77
77
  devicePixelRatio: request.devicePixelRatio,
78
- plot_width: request.plot_width,
79
- plot_height: request.plot_height
78
+ pngDotRadius: request.pngDotRadius,
79
+ width: request.width,
80
+ height: request.height
80
81
  };
82
+ mayLog("[GRIN2] Prepared input for Python script:", { ...pyInput });
81
83
  for (const c in g.majorchr) {
82
84
  if (ds.queries.singleSampleMutation.discoPlot?.skipChrM) {
83
85
  if (c.toLowerCase() == "chrm") continue;