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

Extend validator to check if all required parameters are present in parameter table #43

Closed
dweindl opened this issue Feb 4, 2019 · 6 comments · Fixed by #173
Closed
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@dweindl
Copy link
Member

dweindl commented Feb 4, 2019

See #42 for what to check.

Should be added to petab/lint.py:

def check_parameter_sheet(problem):

EDIT: Also check that there are no additional parameters

@dweindl dweindl added enhancement New feature or request help wanted Extra attention is needed labels Feb 4, 2019
@dweindl dweindl added this to the DCM virtual hackathon 28.01.-10.02. milestone Feb 4, 2019
@elbaraim
Copy link
Collaborator

do we want to also check this with the SBML model? Meaning that all parameters defined in the SBML are present in the parameter sheet?

@dweindl
Copy link
Member Author

dweindl commented Feb 11, 2019

All besides the ones appearing as column names in the condition table, yes.

dweindl added a commit that referenced this issue Feb 18, 2019
Model non-placeholder model parameters must be either specified in the
    condition or parameter table, unless they are AssignmentRule target, in
    which case they must not occur in either.
    Check that.
dweindl added a commit that referenced this issue Feb 18, 2019
Model non-placeholder model parameters must be either specified in the
    condition or parameter table, unless they are AssignmentRule target, in
    which case they must not occur in either.
    Check that.
@dweindl
Copy link
Member Author

dweindl commented Feb 18, 2019

Added first part. Check for parameter overrides from measurement table still missing.

dweindl added a commit that referenced this issue Feb 18, 2019
Model non-placeholder model parameters must be either specified in the
    condition or parameter table, unless they are AssignmentRule target, in
    which case they must not occur in either.
    Check that.
@erikadudki
Copy link
Contributor

@dweindl has this been addressed sufficiently?

@dweindl
Copy link
Member Author

dweindl commented Sep 25, 2019

@dweindl has this been addressed sufficiently?

No, at least not by me or by any commit referencing this issue.
What needs to be checked here is that all parameters introduced in the condition table (as value, not column - i.e. parameter overrides) are present in the parameter table.

@dweindl
Copy link
Member Author

dweindl commented Nov 28, 2019

See also LeonardSchmiester/Benchmark-Models#4 (comment). This is not sufficiently checked yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants