@mcmcjs/julia 0.13.0 → 0.14.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/dist/index.cjs +159 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +188 -38
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/driver.jl +0 -18
- package/dist/fitlib.jl +0 -757
- package/dist/julia-env/Manifest.toml +0 -1840
- package/dist/julia-env/Project.toml +0 -12
- package/dist/worker.jl +0 -102
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcmcjs/julia",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"description": "Julia toolchain detection and the inference runner for MCMC.js.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcmc",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@mcmcjs/
|
|
50
|
-
"@mcmcjs/
|
|
49
|
+
"@mcmcjs/core": "0.11.0",
|
|
50
|
+
"@mcmcjs/engine": "0.6.0"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"build": "tsup",
|
package/dist/driver.jl
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# MCMC.js one-shot fit driver. Reads a run-request JSON file and runs it via
|
|
2
|
-
# fitlib's handle_request. On success a single line of provenance JSON is
|
|
3
|
-
# printed to stdout; failures print one-line JSON to stderr ({error, stage})
|
|
4
|
-
# and exit nonzero. Progress streams to stderr as {"mcmcjs":"progress"} lines.
|
|
5
|
-
include(joinpath(@__DIR__, "fitlib.jl"))
|
|
6
|
-
|
|
7
|
-
function main()
|
|
8
|
-
request = JSON.parsefile(ARGS[1])
|
|
9
|
-
result = handle_request(request)
|
|
10
|
-
if result["ok"]
|
|
11
|
-
println(JSON.json(result["provenance"]))
|
|
12
|
-
else
|
|
13
|
-
println(stderr, JSON.json(Dict("error" => result["error"], "stage" => result["stage"])))
|
|
14
|
-
exit(1)
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
main()
|