@databio/peprs 0.1.0 → 0.2.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/README.md +8 -0
- package/package.json +1 -1
- package/peprs_wasm.js +13 -14
- package/peprs_wasm_bg.wasm +0 -0
package/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# peprs
|
|
2
|
+
A spicy 🌶️ library for managing biological sample metadata to enable reproducible and scalable bioinformatics
|
|
3
|
+
|
|
4
|
+
Don't let sample metadata parsing bottleneck your pipelines!
|
|
5
|
+
|
|
6
|
+
## About this project
|
|
7
|
+
|
|
8
|
+
`peprs` is a rust implementation of the [PEP specification](https://pep.databio.org/) and expanded ecosystem. In short, PEP is a framework for managing biological sample metadata. PEP is a **community driven** effort to create a **fast**, **reliable**, **reusable**, and **scalable** library for handling biological sample metadata.
|
package/package.json
CHANGED
package/peprs_wasm.js
CHANGED
|
@@ -59,7 +59,7 @@ export class WasmProject {
|
|
|
59
59
|
if (ret[2]) {
|
|
60
60
|
throw takeFromExternrefTable0(ret[1]);
|
|
61
61
|
}
|
|
62
|
-
this.__wbg_ptr = ret[0]
|
|
62
|
+
this.__wbg_ptr = ret[0];
|
|
63
63
|
WasmProjectFinalization.register(this, this.__wbg_ptr, this);
|
|
64
64
|
return this;
|
|
65
65
|
}
|
|
@@ -127,11 +127,10 @@ export function validate(project, schema_json) {
|
|
|
127
127
|
}
|
|
128
128
|
return takeFromExternrefTable0(ret[0]);
|
|
129
129
|
}
|
|
130
|
-
|
|
131
130
|
function __wbg_get_imports() {
|
|
132
131
|
const import0 = {
|
|
133
132
|
__proto__: null,
|
|
134
|
-
|
|
133
|
+
__wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
|
|
135
134
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
136
135
|
return ret;
|
|
137
136
|
},
|
|
@@ -142,7 +141,7 @@ function __wbg_get_imports() {
|
|
|
142
141
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
143
142
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
144
143
|
},
|
|
145
|
-
|
|
144
|
+
__wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
|
|
146
145
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
147
146
|
},
|
|
148
147
|
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
@@ -159,27 +158,27 @@ function __wbg_get_imports() {
|
|
|
159
158
|
__wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
|
|
160
159
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
161
160
|
}, arguments); },
|
|
162
|
-
|
|
161
|
+
__wbg_getRandomValues_bf16787eede473f5: function() { return handleError(function (arg0, arg1) {
|
|
163
162
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
164
163
|
}, arguments); },
|
|
165
164
|
__wbg_new_227d7c05414eb861: function() {
|
|
166
165
|
const ret = new Error();
|
|
167
166
|
return ret;
|
|
168
167
|
},
|
|
169
|
-
|
|
168
|
+
__wbg_new_32b398fb48b6d94a: function() {
|
|
170
169
|
const ret = new Array();
|
|
171
170
|
return ret;
|
|
172
171
|
},
|
|
173
|
-
|
|
172
|
+
__wbg_new_da52cf8fe3429cb2: function() {
|
|
174
173
|
const ret = new Object();
|
|
175
174
|
return ret;
|
|
176
175
|
},
|
|
177
|
-
__wbg_set_282384002438957f: function(arg0, arg1, arg2) {
|
|
178
|
-
arg0[arg1 >>> 0] = arg2;
|
|
179
|
-
},
|
|
180
176
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
181
177
|
arg0[arg1] = arg2;
|
|
182
178
|
},
|
|
179
|
+
__wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
|
|
180
|
+
arg0[arg1 >>> 0] = arg2;
|
|
181
|
+
},
|
|
183
182
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
184
183
|
const ret = arg1.stack;
|
|
185
184
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -210,7 +209,7 @@ function __wbg_get_imports() {
|
|
|
210
209
|
|
|
211
210
|
const WasmProjectFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
212
211
|
? { register: () => {}, unregister: () => {} }
|
|
213
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmproject_free(ptr
|
|
212
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmproject_free(ptr, 1));
|
|
214
213
|
|
|
215
214
|
function addToExternrefTable0(obj) {
|
|
216
215
|
const idx = wasm.__externref_table_alloc();
|
|
@@ -238,8 +237,7 @@ function getDataViewMemory0() {
|
|
|
238
237
|
}
|
|
239
238
|
|
|
240
239
|
function getStringFromWasm0(ptr, len) {
|
|
241
|
-
|
|
242
|
-
return decodeText(ptr, len);
|
|
240
|
+
return decodeText(ptr >>> 0, len);
|
|
243
241
|
}
|
|
244
242
|
|
|
245
243
|
let cachedUint8ArrayMemory0 = null;
|
|
@@ -331,8 +329,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
331
329
|
|
|
332
330
|
let WASM_VECTOR_LEN = 0;
|
|
333
331
|
|
|
334
|
-
let wasmModule, wasm;
|
|
332
|
+
let wasmModule, wasmInstance, wasm;
|
|
335
333
|
function __wbg_finalize_init(instance, module) {
|
|
334
|
+
wasmInstance = instance;
|
|
336
335
|
wasm = instance.exports;
|
|
337
336
|
wasmModule = module;
|
|
338
337
|
cachedDataViewMemory0 = null;
|
package/peprs_wasm_bg.wasm
CHANGED
|
Binary file
|