Skip to content

Conversation

@jimnel
Copy link
Contributor

@jimnel jimnel commented Apr 7, 2025

Some refactoring to calc:

  • Moves Signal into its own file
  • Moves calculator error messages into a new file
  • Removes abc.py as this isn't needed
  • Removes some unused imports and commented code

This is part of #46

@jimnel jimnel changed the title refactor Refactor calc Apr 7, 2025
Copy link
Collaborator

@rajarshitiwari rajarshitiwari left a comment

Choose a reason for hiding this comment

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

Looks good


import qse.calc.abc
import qse.calc.calculator

Copy link
Collaborator

Choose a reason for hiding this comment

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

This and content below goes into qse.calc.messages ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

All the Error classes defined in qse/calc/calculator.py go into qse/calc/messages.py

Copy link
Collaborator

Choose a reason for hiding this comment

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

looks good

@jimnel jimnel merged commit 1d0fe06 into main Apr 9, 2025
3 checks passed
@jimnel jimnel deleted the calc_refactor branch May 2, 2025 09:47
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.

3 participants