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 #909 aging data for calculation #910

Merged
merged 3 commits into from
Mar 9, 2021

Conversation

msevestre
Copy link
Member

No description provided.

@msevestre msevestre requested a review from Yuri05 March 8, 2021 20:10

namespace OSPSuite.R.Domain
{
public class AgingData
Copy link
Member Author

Choose a reason for hiding this comment

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

@Yuri05 It's very hard to create DataTable and have them usable in R
So I created this very stupid class that will need to be instantiated in R (via a wrapper)


public interface ISimulationRunner
{
Task<SimulationResults> RunAsync(SimulationRunArgs simulationRunArgs);
Copy link
Member Author

Choose a reason for hiding this comment

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

@Yuri05 It always take some times to remember that rClr does not work well with optional parameters. I am creating an object argument instead

@msevestre msevestre merged commit b1d8da8 into develop Mar 9, 2021
@msevestre msevestre deleted the 909-aging-data-for-calculation branch March 9, 2021 15:46
/// InQuotes(test) => "test"
/// </example>
/// <param name="text">Text to encapsulate in quotes</param>
public static string InQuotes(this string text) => $"\"{text}\"";
Copy link
Member

Choose a reason for hiding this comment

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

Should we check here that text does not contains (double) quotes?
At least in MoBi user can create parameters with double quotes in name; if such a parameter will be varied in a population, CSV export will be invalid then
Just created an iissue for that: Open-Systems-Pharmacology/MoBi#530

Copy link
Member Author

Choose a reason for hiding this comment

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

"" should be forbidden from parameter names. Why is this allowed in the first place..no idea

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.

None yet

2 participants