-
Notifications
You must be signed in to change notification settings - Fork 24
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
confusing error message for map_to_aois #1045
Comments
can you provide me with the IA.ias file and the first gaze file as well as your setup s.t. I can debug locally? if so you can send them by mail to me |
the error message seems to indicate that you did not specify the pixel columns? maybe you can add pixel_columns = [YOURNAMEFORXPIXELS, YOURNAMEFORYPIXELS] then it could work |
I defined that in the dataset definition, but sent you a github invite |
@SiQube Hi, I want to check the status of this issue. I got the following error message when I try to apply ia1 to events. I think that's because my ia1 doesn't have the required columns? We configured IA using data viewer, it has left, right, top and bottom as shown in fig2. Could you provide some suggestions on how I could convert them to the requirement columns of start_x_column, start_y_column, |
how did you load it should be a text stimulus, so it should roughly be: ia1 = text.from_file(
aoi_path=PATHTOYOURFILE,
aoi_column='label',
start_x_column='left',
start_y_column='top',
end_x_column='right',
end_y_column='bottom',
) |
I loaded them fron .ias file
|
please use the |
Thanks! Now I loaded successfully. But got a columnnotfound error ColumnNotFoundError Traceback (most recent call last) /opt/homebrew/lib/python3.11/site-packages/pymovements/events/frame.py in ?(self, aoi_dataframe) /opt/homebrew/lib/python3.11/site-packages/polars/series/series.py in ?(self, name, values, dtype, strict, nan_to_null) /opt/homebrew/lib/python3.11/site-packages/polars/_utils/construction/series.py in ?(name, values, dtype, chunk_size, strict) /opt/homebrew/lib/python3.11/site-packages/pymovements/events/frame.py in ?(.0) /opt/homebrew/lib/python3.11/site-packages/pymovements/utils/aois.py in ?(aoi_dataframe, row, x_eye, y_eye) /opt/homebrew/lib/python3.11/site-packages/polars/dataframe/frame.py in ?(self, key) /opt/homebrew/lib/python3.11/site-packages/polars/_utils/getitem.py in ?(df, key) /opt/homebrew/lib/python3.11/site-packages/polars/dataframe/frame.py in ?(self, name, default) ColumnNotFoundError: "left" not found |
Question
I got an error message that I don't understand when applying
map_to_aois
Sample Code
the GazeDataFrame

the text stimulus

the error message
The text was updated successfully, but these errors were encountered: