Skip to content

Commit

Permalink
remove import for constants
Browse files Browse the repository at this point in the history
  • Loading branch information
danbryce committed Oct 27, 2023
1 parent f267eb3 commit 5b438cb
Show file tree
Hide file tree
Showing 5 changed files with 237 additions and 238 deletions.
3 changes: 2 additions & 1 deletion examples/protocols/growth-curve/growth_curve.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
import tyto

import labop
from labop.constants import rpm
from labop.execution.harness import ProtocolHarness, ProtocolSpecialization
from labop.strings import Strings
from labop_convert.markdown.markdown_specialization import MarkdownSpecialization


def generate_protocol(doc, protocol: labop.Protocol) -> labop.Protocol:
from labop.constants import rpm

doc.add(rpm)
#############################################
# Create the protocols
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import tyto

import labop
from labop.constants import PREFIX_MAP, ddh2o, ludox
from labop.execution.harness import ProtocolHarness, ProtocolSpecialization
from labop.protocol import Protocol
from labop.strings import Strings
Expand All @@ -14,6 +13,7 @@

def generate_protocol(doc: sbol3.Document, activity: Protocol) -> Protocol:
# create the materials to be provisioned
from labop.constants import PREFIX_MAP, ddh2o, ludox

doc.add(ddh2o)
doc.add(ludox)
Expand Down
Loading

0 comments on commit 5b438cb

Please sign in to comment.