psychoinformatics-de / remodnav

Robust Eye Movement Detection for Natural Viewing
Other
59 stars 16 forks source link

Invalid syntax when using: remodnav 'anyfile.tsv' 'output.tsv' ... #41

Closed Markdood88 closed 1 year ago

Markdood88 commented 2 years ago

Using the exemplary command line prompt gives an error 'invalid syntax' on the fileinput name.

I've tried with both ' ' and " " and also without quotes. and in case I was misunderstanding, I tried from a bash shell, as well as the python terminal line. Is there something I'm misunderstanding here?

Command line says: remodnav is an unrecognized command after pip installing, so I'm assuming it's to be used in python terminal.

adswa commented 2 years ago

Hi, it should work from your normal terminal. Could you share your operating system, Python version, and check whether or not you are using virtual environments during the installation? Is the command example you are referring to this one:

remodnav "inputs/raw_eyegaze/sub-01/ses-movie/func/sub-01_ses-movie_task-movie_run-1_recording-eyegaze_physio.tsv.gz" \
  "sub-01/sub-01_task-movie_run-1_events.tsv" 0.0185581232561 1000.0

As for the syntax error: If you are on a Windows system, it might get confused by the \ in the exemplary call (which not all shells on Windows interpret as a line break). Or you might not have cloned the repo and the paths to the input file simply do not resolve? Ideally, could you provide a full copy and paste of your command and the resulting error, as well as information on which directory you run this in? Thx

adswa commented 1 year ago

Hey, do you still have problems with this? I'm closing this issue due to inactivity and missing information, so that I can reduce the number of open issues a bit - but please feel free to reopen this in case there are remaining problems or questions :)