Skip to content

Commit

Permalink
Add support for stickydesign-accel fastsub implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgevans committed Dec 13, 2023
1 parent 858817f commit 229ee40
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = stickydesign
version = 0.9.0.a1
version = 0.9.0.a2
author = Constantine Evans
author_email = const@costi.eu
description = StickyDesign DNA Tile Sticky End Package
Expand All @@ -20,11 +20,11 @@ packages =
stickydesign
stickydesign.stickydesign2
install_requires =
numpy
numpy ~= 1.20

[options.extras_require]
accel =
stickydesign-accel ~= 0.9.0.a1
stickydesign-accel == 0.9.0.a2
testing =
pytest-cov
pytest-benchmark
Expand Down
6 changes: 6 additions & 0 deletions src/stickydesign/_stickyext.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
__all__ = ['fastsub']

try:
from stickydesign_accel import fastsub
except ImportError:
raise ImportError("Could not load stickydesign_accel, required for EnergeticsBasicOld.")

0 comments on commit 229ee40

Please sign in to comment.