-
Notifications
You must be signed in to change notification settings - Fork 7
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
Example input data format throws errors #18
Comments
Hello, thanks for reporting this problem. To read input data in CSV format either use Example:
To run
Contents of the
Unfortunately, the project's readme is out of date and Wiki would be helpful too. I have opened issue #10 for that, and have unfinished work left in the You can find all available options for each filter using the Please, if you have still problem with this, or encounter any other issue, report it. |
Thanks, that's been very helpful. |
Accepted formats for the timestamp and their aliases are:
Examples for timestamp format:
For your other question about piping commands - Yes, it is still possible, but with some caveats. Use Note, if you use a custom timestamp format, you have to specify it for each command in the pipeline.
The input is read by To force CSV format through the pipe, you would use:
Same applies for all other commands, you have to maintain the same However, creating a pipeline is no longer necessary because complete filter is now available as an executable
To change format and specify custom timestamp format, use the same arguments as before, e.g.:
Arguments |
Closing this issue since the readme was updated. |
Hi, I've tried running the command line tool with json data files and csv data files and neither has worked for me.
I tried running the
fillingaps
command and thevt-classify
command from the command line passing in a data file containing the example json given in #4 (comment). This is part of the following error message:Unhandled Exception: System.AggregateException: One or more errors occurred. ---> System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt) at System.Int64.Parse(String s) at UXI.GazeToolkit.Serialization.Converters.TimestampFromTicksConverter.Convert(String value)
.I also tried using the sample csv file format given for raw gaze data (#4 (comment)) and hit errors as it seems to get deserialized as a JSON object (the error begins with:
Unhandled Exception: System.AggregateException: One or more errors occurred. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: T. Path '', line 0, position 0. at Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.JsonTextReader.Read() at UXI.Serialization.Json.JsonDataReader.TryRead(Object& data)
).How can I get my csv file to be interpreted as a csv file? Can you provide updated data file format examples if there have been updates?
The text was updated successfully, but these errors were encountered: