Skip to content

Commit

Permalink
typing: more py3.9 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
richardjgowers committed Sep 1, 2023
1 parent b72c214 commit 43d78c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cinnabar/measurements.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from openff.models.models import DefaultModel
from openff.models.types import FloatQuantity
from openff.units import unit
from typing import Hashable
from typing import Hashable, Union
import math


Expand Down Expand Up @@ -60,7 +60,7 @@ class Measurement(DefaultModel):

@classmethod
def from_experiment(cls,
label: str | Hashable,
label: Union[str, Hashable],
Ki: unit.Quantity,
uncertainty: unit.Quantity = 0 * unit.nanomolar,
*,
Expand Down

0 comments on commit 43d78c1

Please sign in to comment.