Skip to content

Conversation

@osn07
Copy link

@osn07 osn07 commented Jan 17, 2026

Fixed bug that occurred when loading profiles in parameter-manager

Why - bug occurred because the user closed the param-manager on a profile other than "parameter-manager" and then tried to reopen the window. Old attribute updates (from the other profile) that did not exist anymore were being sent to parameter_manager, which was trying to load the "parameter-manager" profile attributes.

osn07 and others added 4 commits December 28, 2025 18:23
Fixed a bug where the parameter manager GUI would crash when closing
and reopening the parameter manager tab. The issue was in the
ProfilesManager.refresh() method which was comparing the full profile
filename with the cleaned profile name, causing them to never match.

The fix ensures profile names are cleaned before comparison, allowing
the currently selected profile to be properly restored when refreshing
the profile list.

Changes:
- Fixed profile name comparison in ProfilesManager.refresh() to use
  cleanProfileName() for both sides of the comparison
- Added CLAUDE.md documentation for the instrumentserver codebase

Labcore Changes:
- Also added CLAUDE.md documentation for labcore
- Profile files and serverConfig.yml added to labcore for testing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…in the parameter-manager window and then the window was closed, instrumentserver would crash upon ropening the parameter-manager window. Issue was that attributes from the profile were trying to be loaded when launching parameter-manager profile, where they don't exist. Fix - added try-except to handle the AttributeError when relaunching parameter-manager window to stop crashes when receiving broadcasts from parameters in a different profile
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