Open sbocconi opened 8 years ago
I've been working on a new version of the data package: https://github.com/histograph/data/tree/data-modules
I've moved all dataset-specific logic out of data module, and into separate modules:
I'm using this version here in NYC, with newest Node + NPM. However, I've not changed NWB + BAG data modules. I can explain how to make one! It's easy!
And then I can merge data-modules
branch of this repo into master.
By the way: hello @sbocconi!
hello @bertspaan!!
This is how data module works in new data-modules
branch:
data-xxx
in a specified directory (i.e. data-tgn
)xxx.js
(i.e. require('data-tgn/tgn.js')
)npm install
for each data module)Each data module should have the following API:
module.exports.steps = [
step1, // step1 and step2 are functions inside the data module
step2
];
I changed the title of this issue since the original one is fixed but the discussion here is useful to solve the issue described in the title.
https://github.com/reinvantveer is working on this:
Yes I'm doing BAG at the moment. Got as far as neatly recursively unpacking
those dreadful zips (at least the Amstelveen test set) , so I can get set
to streaming thise dreadful XMLs to ndjson :)
Greetings,
Rein
Doing the BAG... :handbag:
Dank @jobspierings, je mag me ook assignen als je wil, geloof niet dat ik dat kan... Of doet @sbocconi dit?
Downscaling issue to BAG
With npm -v 3.3.12 and node -v 5.3.0 npm install fails with
Upgrading to the latest release fixes the problem for me, but might break with other versions of node/npm?