Skip to content

Fixes crashes and inconsistent path - #265

Open
StephenNneji wants to merge 1 commit into
RascalSoftware:mainfrom
StephenNneji:bug_fixes
Open

StephenNneji wants to merge 1 commit into
RascalSoftware:mainfrom
StephenNneji:bug_fixes

Conversation

@StephenNneji

@StephenNneji StephenNneji commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor
  • Fixes Crash when trying to change simulation or data range #264 This crash was caused because the number of decimal places in some datasets (15) exceeded the display (previously 12) and the rounding made the max of the simulation range less than the actual data range which then lead to a crash in pydantic. The fix sets the display decimal to 15 and rounds the data to 15 decimal places

  • I also fixed another bug where text could be typed into the data or simulation range text box which then led to a crash. Now the the textbox would gracefully revert the text if its not a valid number

Screenshot 2026-10-27 153946
  • I updated to ratapi 1.0.1.dev which ensures that the function name in custom files is always saved to the json

  • When modifying the function name of a python custom file, the software should now correctly display the available functions in the file in a combo box. old behavoir remains for non-python files

Screenshot 2026-10-27 155434
  • Clean up some file paths to always use posix path, for example on windows loaded project paths would use forward slash while the example project path would use backslash slash so I unified path to string conversion to use posix path.

This branch has not been deployed

No deployments
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.

Crash when trying to change simulation or data range

1 participant