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

A computed column is not always computed when opening a JASP file #5380

Merged
merged 2 commits into from
Jan 9, 2024

Conversation

boutinb
Copy link
Contributor

@boutinb boutinb commented Jan 9, 2024

Make a JASP file with several analyses.
Add a computed column by using another column.
Save it, close it, and open it again: the computed column is not computed due to an engine crash.

This crash is due to the fact that when trying to compute the computed column, the ColumnEncoder in the Engine was not yet initilalized with the names of the columns.

Make a JASP file with several analyses.
Add a computed column by using another column.
Save it, close it, and open it again: the computed column is not computed due to an engine crash.

This crash is due to the fact that when trying to compute the computed column, the ColumnEncoder in the Engine was not yet initilalized with the names of the columns.
@boutinb boutinb requested a review from JorisGoosen January 9, 2024 09:24
@JorisGoosen
Copy link
Contributor

Ok @boutinb ive made the code a bit less duplicated and feisty, it should still work the same way though.
I cant get the problem occuring anymore.

If you agree with my changes we can merge it

@boutinb boutinb merged commit 10880d8 into jasp-stats:stable Jan 9, 2024
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

Successfully merging this pull request may close these issues.

2 participants