-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fixes #493 units for dimensions #494
Conversation
#' This is purely for optimization purposes | ||
#' | ||
#' @return An instance of the Task | ||
getDimensionTask <- function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PavelBal I added your method here. I'd love to know how much of a difference such as small optimization is making
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be honest I did not investigate it. Might think of a use case and profile it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. I am pretty sure this is completely insignificant to be honest. But well why not
@@ -65,6 +65,7 @@ export(getParameterDisplayPaths) | |||
export(getQuantity) | |||
export(getSimulationTree) | |||
export(getStandardMoleculeParameters) | |||
export(getUnitsForDimension) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@abdullahhamadeh This will be soon available in ospsuite-r Returns all units for a given dimension name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
No description provided.