Skip to content

Refactor configs#15

Draft
JoeZiminski wants to merge 2 commits into
int-brain-lab:mainfrom
JoeZiminski:refactor_configs
Draft

Refactor configs#15
JoeZiminski wants to merge 2 commits into
int-brain-lab:mainfrom
JoeZiminski:refactor_configs

Conversation

@JoeZiminski
Copy link
Copy Markdown
Collaborator

@JoeZiminski JoeZiminski commented Feb 3, 2026

(will come back to this later, after some refactorings and adding in spike peaks from spikeinterface)

Playing around with refactoring configs, draft ATM. In general the aims are to:

  1. Move configs into another file if possible
  2. Move global variables out of EphysViewer so that all required variables are passed as arguments to viewephys
  3. small renamings

Comment thread src/viewephys/gui.py
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe we should name this module constants.py ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

That would work, my only thought is would this be set by some point by users through the gui and remembered over sessions? or are these likely to suite all users and just be internal constants?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

For this qt guis have the QSettings, I find them very handy as you don't have to fiddle with every OS application data. But

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.

2 participants