Skip to content

Editting the Project resets the Chi Squared value - #241

Open
MikeSullivan7 wants to merge 3 commits into
RascalSoftware:mainfrom
MikeSullivan7:reset_chi_modified_project
Open

Editting the Project resets the Chi Squared value#241
MikeSullivan7 wants to merge 3 commits into
RascalSoftware:mainfrom
MikeSullivan7:reset_chi_modified_project

Conversation

@MikeSullivan7

Copy link
Copy Markdown
Collaborator

This PR checks in MainWindowPresenter.edit_project if the project dict has been modified. If it has, the chi squared value is reset to '' so appears blank to the user. This function is called when any project tables are modified and when the parameters slider values are "accepted", so should catch all reasonable ways where the chi squared value should be reset.

A presenter test has also been added to check for the correct behaviour in MainWindowPresenter.edit_project.

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.

1 participant