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

refactor!: massive cleanup #293

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

refactor!: massive cleanup #293

wants to merge 6 commits into from

Conversation

c-dilks
Copy link
Member

@c-dilks c-dilks commented Mar 7, 2025

No description provided.

c-dilks added 6 commits March 7, 2025 13:51
they do not appear to be used; we can recover them from `git` history if
someone is relying on them (but they should be encouraged to use the
more general, in-use code)
This fixes all the current compilation warnings.

IMPORTANT: many `processeEvent` methods were retrieving _several_ more
banks than the method actually needed; this commit removes several
unnecessary `DataEvent.getBank` calls.

In general:
- variables that are obviously unused have been deleted
- variables that may have been used for debugging have been commented
  out
Plot viewing should use the web front-end, not custom canvases and PNG
output; we can allow webserver access to those who need it.

Similar to the removal of `main` methods, if someone depends on `plot`
methods, we may restore them from `git` history. We remove unused code
so that we don't have to waste time maintaining it.
…ite`

This makes calling the monitor classes a bit more general:
- for each event, call `processEvent`
- at the end, call `write`

In some cases, two methods were called after event processing;
additional methods are now just called by `write`.

There are still variations in the methods' parameters, as well as their
constructors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant