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

Refactoring Branch #79

Draft
wants to merge 357 commits into
base: master
Choose a base branch
from
Draft

Refactoring Branch #79

wants to merge 357 commits into from

Conversation

lucas-wilkins
Copy link
Contributor

Main branch for the refactoring project

si_scaling_factor: float,
dimensions: Dimensions):

self.scale = si_scaling_factor

Choose a reason for hiding this comment

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

Is there any reason not to call self.scale self.si_scaling_factor as well?



#
# Units by type

Choose a reason for hiding this comment

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

While writing the unit tests for my parser, I had a thought. I think the unit groups should perhaps go into a separate module. To import a unit, we would do

from sasdata.quantities.units import meters. meters_per_second ...'

Which makes sense. But to import a unit group, the import statement would look like this.

from sasdata.quantities.units import speed, acceleration ...'

Which might be a little confusing because we're importing a unit group from the units module. Its a fairly minor change but having a separate unit group module might make this clearer.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, sounds like a good plan

jamescrake-merani and others added 30 commits February 12, 2025 15:45
…asView/sasdata into 88-make-readers-return-sasdata-objects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants