Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do I need to install it? #3

Open
davodogster opened this issue Jul 28, 2020 · 1 comment
Open

Do I need to install it? #3

davodogster opened this issue Jul 28, 2020 · 1 comment

Comments

@davodogster
Copy link

Hi @Dubrzr!

I downloaded your repo and dragged "app.html" into my chrome browser then selected upload singals --> test_data.json and this ERROR was displayed.

image

Am I using it correctly in the browser or do I need to install it locally somehow?
And do you need to fix the backend so that I can upload the test_data.json file?

Cheers,
Sam

@Dubrzr
Copy link
Owner

Dubrzr commented Aug 3, 2020

Hey @davodogster, I'm on hollidays right now, but yeah you are right, the example in the readme is wrong, your file must only contains the following:

{"values": [0.45,0.88, 0.98, 1.35...]}

You could probably convert your csv files to this json format, or maybe help by implementing the read_csv function here: https://github.com/Dubrzr/SignalAnnotation/blob/master/app.html#L401 by taking inspiration on the read_json function: https://github.com/Dubrzr/SignalAnnotation/blob/master/app.html#L373 (the function returns an array containing [array_of_values, error] where array_of_values is the array containing the readen values from the file, and error a variable containing a string of the error displayed to the user if needed, else null).

How i see the upload functionality: upload one by one, by having an upload dialog that permits to select multiple files at once for upload, so one file per signal (either in json or csv format)

Cheers :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants