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

Fixes #493 units for dimensions #494

Merged
merged 2 commits into from
Mar 25, 2021
Merged

Conversation

msevestre
Copy link
Member

No description provided.

@msevestre msevestre requested a review from PavelBal March 25, 2021 13:45
#' This is purely for optimization purposes
#'
#' @return An instance of the Task
getDimensionTask <- function() {
Copy link
Member Author

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

Copy link
Member

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.

Copy link
Member Author

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)
Copy link
Member Author

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

Copy link
Member

@PavelBal PavelBal 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.

@msevestre msevestre merged commit 2012335 into develop Mar 25, 2021
@msevestre msevestre deleted the 493-units-for-dimensions branch March 25, 2021 13:58
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