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 #2081 PKSim CLI filter simulation #2082

Merged
merged 4 commits into from
Feb 1, 2022

Conversation

msevestre
Copy link
Member

No description provided.

@msevestre msevestre requested a review from Yuri05 February 1, 2022 19:46
@@ -906,6 +906,9 @@ public static string MapToSnapshotNotSupportedWithoutContext(string snapshotType

public static string CannotFindSimulationInSnapshot(string simulationName, string project) => CannotFindBuildingBlockInSnapshot(ObjectTypes.Simulation, simulationName, project);

public static string SimulationUsedInPlotsAreNotExported(IReadOnlyList<string> simulationNames, string project)
Copy link
Member Author

Choose a reason for hiding this comment

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

Making sure that simulation used in plots are also referenced here. This is just a simple validation step.

/// <summary>
/// Specifies if project files (snapshot and project should be exported)
/// </summary>
public bool ExportProjectFiles { get; set; }
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 we export the project files or not. Default will be not because I don't think we need to export those for the qualification

Copy link
Member

Choose a reason for hiding this comment

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

ok, let's keep it like this.
If this option can be passed to the QualificationRunner later I'm perfectly fine with that :)

Copy link
Member Author

@msevestre msevestre left a comment

Choose a reason for hiding this comment

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

READY FOR REVIEW

public IReadOnlyList<string> ReadOnlyMetaDataCategories => new List<string> { };
public IReadOnlyList<string> ReadOnlyMetaDataCategories { get; } = new List<string> { };

public bool MolWeightAlwaysEditable { get; } = false;
Copy link
Member Author

Choose a reason for hiding this comment

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

@georgeDaskalakis I changed this stuff here. Also when you always return a constant, use {get;} instead 0f => false. A bit faster...

@msevestre msevestre merged commit 2821500 into develop Feb 1, 2022
@msevestre msevestre deleted the 2081-pksim-cli-filter-simulation branch February 1, 2022 21:27
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