@sjcrh/proteinpaint-rust 2.126.0 → 2.128.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.
- package/index.js +1 -1
- package/package.json +2 -2
- package/src/cerno.rs +1 -2
package/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { spawn, exec } from 'child_process'
|
|
|
5
5
|
import { Readable, Transform } from 'stream'
|
|
6
6
|
import { promisify } from 'util'
|
|
7
7
|
|
|
8
|
-
const __dirname = import.meta.dirname
|
|
8
|
+
const __dirname = import.meta.dirname // set __dirname for consistency with cjs code
|
|
9
9
|
|
|
10
10
|
const execPromise = promisify(exec)
|
|
11
11
|
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.
|
|
2
|
+
"version": "2.128.1",
|
|
3
3
|
"name": "@sjcrh/proteinpaint-rust",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Rust-based utilities for proteinpaint",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"tape": "^5.2.2"
|
|
41
41
|
},
|
|
42
|
-
"pp_release_tag": "v2.
|
|
42
|
+
"pp_release_tag": "v2.128.1"
|
|
43
43
|
}
|
package/src/cerno.rs
CHANGED
|
@@ -218,8 +218,7 @@ fn main() -> Result<()> {
|
|
|
218
218
|
}
|
|
219
219
|
Err(_) => panic!("sqlite database file not found"),
|
|
220
220
|
}
|
|
221
|
-
let output_string =
|
|
222
|
-
"result: {".to_string() + &"\"data\":" + &adjust_p_values(pathway_p_values) + &"}";
|
|
221
|
+
let output_string = adjust_p_values(pathway_p_values);
|
|
223
222
|
println!("{}", output_string);
|
|
224
223
|
}
|
|
225
224
|
Err(error) => println!("Incorrect json:{}", error),
|