Skip to content

Commit

Permalink
Merge pull request #97 from UC-Davis-molecular-computing/dev
Browse files Browse the repository at this point in the history
bumped version from 0.9.2 to 0.9.3
  • Loading branch information
dave-doty authored Jun 28, 2020
2 parents 17677d9 + c4db84a commit 9b32874
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 15 deletions.
Binary file added dist/scadnano-0.9.2.tar.gz
Binary file not shown.
Binary file added dist/scadnano-0.9.3.tar.gz
Binary file not shown.
3 changes: 2 additions & 1 deletion scadnano/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
# taken from https://stackoverflow.com/questions/17583443/what-is-the-correct-way-to-share-package-version-with-setup-py-and-the-package/17626524#17626524

# The following line *must* be the last in the module, exactly as formatted:
__version__ = "0.9.2"
# XXX: REMEMBER TO CHANGE VERSION IN scadnano.py also, for users who do not install from PyPI
__version__ = "0.9.3"
18 changes: 9 additions & 9 deletions scadnano/scadnano.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@
import sys
import os.path

# Don't really understand why, but an explicit import solves the issue described here
# https://stackoverflow.com/a/39131141
# solves the build problems: https://github.com/UC-Davis-molecular-computing/scadnano-python-package/actions/runs/125490116
try:
from ._version import __version__
except ImportError:
# this is so scadnano.py file works without _version.py being present, in case user downloads it
__version__ = "0.9.3"

StrandLabel = TypeVar('StrandLabel')
DomainLabel = TypeVar('DomainLabel')

Expand Down Expand Up @@ -324,15 +333,6 @@ class Grid(str, enum.Enum):
##########################################################################
# constants

# Don't really understand why, but an explicit import solves the issue described here
# https://stackoverflow.com/a/39131141
# solves the build problems: https://github.com/UC-Davis-molecular-computing/scadnano-python-package/actions/runs/125490116
try:
from ._version import __version__
except ImportError:
# this is so scadnano.py file works without _version.py being present, in case user downloads it
__version__ = "0.9.2"

default_idt_scale = "25nm"
default_idt_purification = "STD"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.9.1",
"version": "0.9.3",
"grid": "square",
"helices": [
{"max_offset": 448, "grid_position": [0, 0]},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.9.1",
"version": "0.9.3",
"grid": "square",
"helices": [
{"grid_position": [0, 0]},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.9.1",
"version": "0.9.3",
"grid": "square",
"helices": [
{"grid_position": [0, 0]},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.9.1",
"version": "0.9.3",
"grid": "square",
"helices": [
{"grid_position": [0, 0]},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.9.1",
"version": "0.9.3",
"grid": "square",
"helices": [
{"max_offset": 192, "grid_position": [0, 0]},
Expand Down

0 comments on commit 9b32874

Please sign in to comment.