Tehsurfer/blackfynn-csv-exporter
A Web viewer for viewing and exporting data from Blackfynn to CSV format for OpenCOR
View the current online version at: https://blackfynnpythonlink.ml/blackfynn-csv-exporter/
Devloper Installation
git clone https://github.com/Tehsurfer/blackfynn-csv-exporter.git
- Install Node.js if you do not have it (check using
npm -v
) - Navigate to the /blackfynn-csv-export directory and:
npm install
npm run build
-
Open index.html in Firefox
OR
Use
python -m http.server
Go to http://0.0.0.0:8000/index.html with Chrome
Using the app and External API's
// Initialises app.var blackfynnManger = blackfynnManger //Initialises app on document load.var blackfynnManger = document; // Send data to app before or after loginvar blackfynnManger = blackfynnManagerblackfynnMangerblacfynnManagerblackfynnManager // serialise to JSON and load from JSONvar blackfynnManager = serialisedPanel = blackfynnManagerconsole// "{"parentDiv":{},"selectedChannels":[],"csvURL":""}"blackfynnManager // Load csv files and plot as single plot or subplotbf = bfbf // Plot all csv channels and remover selectorbf // Set to subplots for next plotbf bf // set broadcast channel name which returns serialised state on select.onchange