-
Notifications
You must be signed in to change notification settings - Fork 3
Fixed halflife retrieval, added rate constant retrieval #32
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
base: develop
Are you sure you want to change the base?
Conversation
| """ | ||
| if value not in self.allowed_types: | ||
| raise ValueError(f"The value {value} does not belong to the set of allowed values {self.allowed_types}") | ||
| # if value not in self.allowed_types: |
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.
Whats the reason for getting rid of this check?
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.
it is too restrictive for the data in soil and sludge. I commented out most stuff that is too restrictive, but would make sense to have at some point.
| name = "minormajor" | ||
| mandatories = ['radiomin'] | ||
| allowed_values = ["minor", "major"] | ||
| #allowed_values = ["minor", "major", "neither"] |
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.
"neither" added but commented out?
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.
also here it is supposed to be the commented version but it is too restrictive
| """ | ||
| if value.lower() not in self.allowed_values: | ||
| raise ValueError(f"{value} is not one the allowed_values {self.allowed_values}") | ||
| #if value.lower() not in self.allowed_values: |
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.
Same as above, is it now optional?
| """ | ||
| parts = data_string.split(';') | ||
| dt50 = parts[3] | ||
| if parts[0] == 'SFO': |
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.
SFO = parts[0] == 'SFO'
| """ | ||
| name = "samplingdepth" | ||
| mandatories = ["samplingDepthMin"] | ||
| mandatories = [] # "samplingDepthMin" |
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.
Nothing mandatory?
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.
also too restricitve since some additional information doesnt contain any minimal value
fixed also some addinfo bugs since most of the time converting the values to float was too restrictive when trying to retrieve the data from the existing datasets in envipath