-
Notifications
You must be signed in to change notification settings - Fork 3
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
Make {start|end}_pIC50
optional in JSON schema
#68
base: master
Are you sure you want to change the base?
Conversation
covid_moonshot/core.py
Outdated
@@ -78,6 +77,8 @@ class RunDetails: | |||
start_smiles: str | |||
start_title: str | |||
target: str | |||
end_pIC50: float = None | |||
start_pIC50: float = None |
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.
Nice! Sorry about this, I was worried we might have a problem here but convinced myself it was ok.
BTW, if we make the type Optional[float]
here, we'll get warnings from mypy when we try to use start_pIC50
without first checking if it is None
.
@mcwitt is this PR now outdated by the new spec? |
This PR enables sprint-3 JSON files to work with the current pipeline by making
{start|end}_pIC50
optional in the JSON schema.