Skip to content

[Bug]: Group number doesn't update after filtering out some of them #2916

@nothik

Description

@nothik

JASP Version

0.19.0

Commit ID

No response

JASP Module

T-Tests

What analysis are you seeing the problem on?

Independent Samples T-Test

What OS are you seeing the problem on?

Windows 10

Bug Description

I have a grouping variable with 3 groups. When I filter out one of them, all corresponding entries appear in grey in the database. However, when I try running an independent samples t-test, I get an error message saying that there are 3 groups. Even when I use the edit function and completely delete the rows where the 3rd group appears, the system still remembers that there were initially 3 groups.

Expected Behaviour

The system should understand (as it did in previous versions of JASP) that there are now 2 groups remaining so that an independent samples t test is possible.

Steps to Reproduce

1.Open a database with one grouping variables with 3 groups, and one numerical variable.
2.Filter out one group.
3.Try making a t-test.
...

Log (if any)

No response

More Debug Information

No response

Final Checklist

  • I have included a screenshot showcasing the issue, if possible.
  • I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
  • I have accurately described the bug, and steps to reproduce it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions