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

[Release 5.0.6] Master 5.0.6 release PR #2407

Merged
merged 39 commits into from
Jan 27, 2023

Conversation

@rozyczko rozyczko marked this pull request as draft December 20, 2022 14:47
@krzywon krzywon changed the title [Release 5.0.6] Various plotting fixes [Release 5.0.6] Master 5.0.6 release PR Jan 10, 2023
@caitwolf
Copy link
Contributor

caitwolf commented Jan 10, 2023

butlerpd and others added 7 commits January 23, 2023 00:35
the slicers defaulted to 20 or 36 points (depending on the slicer). This is almost never a reasonable number and there have been several request for that to be made larger. Upped it to 100 here.

Noted in testing that the box slicer validators were not properly checking for 0 points (the other slicers did) . In fact they were do nothing functions so fixed that by adding the appropriate code snipet.

Also all the slicers seemed to have the default set in a couple of different places which caused some odd behavior in at least on case. that was cleaned up as well.
Modified initial state to be log scale
from 50 to 150 points and default to log spacing of data
…als creation and delete from residuals plotting
@wpotrzebowski
Copy link
Contributor

I haven't tested this version extensively but copying parameters to LATEX and Excel doesn't seem to work:
15:22:07 - ERROR: Traceback (most recent call last): File "sas/qtgui/Perspectives/Fitting/FittingPerspective.py", line 123, in onLatexCopy File "sas/qtgui/Perspectives/Fitting/FittingWidget.py", line 3896, in onCopyToClipboard File "sas/qtgui/Perspectives/Fitting/FittingUtilities.py", line 863, in formatParametersLatex IndexError: list index out of range

@krzywon
Copy link
Contributor Author

krzywon commented Jan 23, 2023

I haven't tested this version extensively but copying parameters to LATEX and Excel doesn't seem to work: 15:22:07 - ERROR: Traceback (most recent call last): File "sas/qtgui/Perspectives/Fitting/FittingPerspective.py", line 123, in onLatexCopy File "sas/qtgui/Perspectives/Fitting/FittingWidget.py", line 3896, in onCopyToClipboard File "sas/qtgui/Perspectives/Fitting/FittingUtilities.py", line 863, in formatParametersLatex IndexError: list index out of range

@wpotrzebowski - #2369, opened by @smk, seems to be a similar, if not the same, issue.

@wpotrzebowski
Copy link
Contributor

I haven't tested this version extensively but copying parameters to LATEX and Excel doesn't seem to work: 15:22:07 - ERROR: Traceback (most recent call last): File "sas/qtgui/Perspectives/Fitting/FittingPerspective.py", line 123, in onLatexCopy File "sas/qtgui/Perspectives/Fitting/FittingWidget.py", line 3896, in onCopyToClipboard File "sas/qtgui/Perspectives/Fitting/FittingUtilities.py", line 863, in formatParametersLatex IndexError: list index out of range

@wpotrzebowski - #2369, opened by @smk, seems to be a similar, if not the same, issue.

Thanks @krzywon for pointing this out. In my case it didn't work with core shell model. I need to check if it is model dependent and more importantly in the context of 5.0.6 is it also a bug in 5.0.5.

@krzywon
Copy link
Contributor Author

krzywon commented Jan 27, 2023

Thanks @krzywon for pointing this out. In my case it didn't work with core shell model. I need to check if it is model dependent and more importantly in the context of 5.0.6 is it also a bug in 5.0.5.

The second comment in the ticket mentions it applies to all multiplicity models, not just unified_power_rg. I'm updating the title now for clarity.

Edited to correct: the second comment suggests it applies to them, but I've tested and the error is thrown on the n/shells/layers/etc. parameter.

llimeht and others added 2 commits January 27, 2023 15:45
Embedded latex ends up with lots of backslashes that need to be protected as
raw strings rather than (mis)interpreted as standard C-style escape sequences.
@krzywon krzywon marked this pull request as ready for review January 27, 2023 20:52
Copy link
Member

@butlerpd butlerpd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR just cherry picks a number of agreed upon commits to main which were already tested and code reviewed. Thus I think we should approve the merge and test the release branch as a whole to make sure none of these are relying on changes not picked.

@butlerpd butlerpd merged commit c8ac08f into release_5.0.6 Jan 27, 2023
@krzywon krzywon deleted the release_5.0.6_plotting_fixes branch January 27, 2023 21:42
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.

9 participants