Skip to content

Commit 60d4132

Browse files
committed
missing import
1 parent 06549ad commit 60d4132

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/alhambra_mixes/echo.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
from alhambra_mixes.util import gen_random_hash, maybe_cache_once
1212

13-
from .actions import AbstractAction, ActionWithComponents
13+
from .actions import AbstractAction, ActionWithComponents, _STRUCTURE_CLASSES
1414
from .experiments import Experiment
1515
from .mixes import Mix
1616
from .printing import MixLine
@@ -502,7 +502,6 @@ def each_volumes(
502502
round(maybe_vol)
503503
* self.droplet_volume
504504
]
505-
return ea_vols
506505

507506
@maybe_cache_once
508507
def _mixlines(
@@ -538,3 +537,6 @@ def _mixlines(
538537
# """Use an intermediate mix to obtain a target concentration."""
539538

540539
# ...
540+
541+
for c in [EchoFixedVolume, EchoEqualTargetConcentration, EchoTargetConcentration, EchoFillToVolume]:
542+
_STRUCTURE_CLASSES[c.__name__] = c

0 commit comments

Comments
 (0)