mountainsort
mountainsort copied to clipboard
Sorting error - SyntaxError: Unexpected token
Hi, MountainSort works fine on the synthetic data, but I get this error when trying to sort my own data. This seems like a simple error. Thanks.
`mlp-run mountainsort3.mlp sort --raw=raw.mda --geom=geom.csv --firings_out=firings2.mda --_params=params.json --curate=true undefined:1 { ^
SyntaxError: Unexpected token
at Object.parse (native)
at Object.
Perhaps there is a problem with your params.json file. Could you attach that file, please?
The .json format is not supported as attachment. Here's the params.json content:
{
"samplerate":30000,
"detect_sign":0,
"adjacency_radius":0
}
It looks fine. Sometimes there are weird invisible characters in text files. Could you try running it without the --_params flag? If that works (i.e., runs) then try to create a completely new .json file and type the text in. J