Skip to content

Commit

Permalink
Fixes #144; swap position x z coordinate interpretation
Browse files Browse the repository at this point in the history
  • Loading branch information
UnHumbleBen committed Nov 1, 2020
1 parent 0e5b323 commit 2ad4868
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scadnano/scadnano.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
# commented out for now to support Py3.6, which does not support this feature
# from __future__ import annotations

__version__ = "0.12.2" # version line; WARNING: do not remove or change this line or comment
__version__ = "0.13.0" # version line; WARNING: do not remove or change this line or comment

import dataclasses
from abc import abstractmethod, ABC
Expand Down Expand Up @@ -930,7 +930,7 @@ class Position3D(_JSONSerializable):

x: float = 0
"""x-coordinate of position.
Increasing `x` moves right in the main view and into the screen in the side view."""
Increasing `x` moves right in the side view and out of the screen in the main view."""

y: float = 0
"""y-coordinate of position.
Expand All @@ -939,7 +939,7 @@ class Position3D(_JSONSerializable):

z: float = 0
"""z-coordinate of position.
Increasing `z` moves right in the side view and out of the screen in the main view."""
Increasing `z` moves right in the main view and into the screen in the side view."""

def to_json_serializable(self, suppress_indent: bool = True, **kwargs: Any) -> Dict[str, Any]:
dct: Dict[str, Any] = dict(self.__dict__)
Expand Down

0 comments on commit 2ad4868

Please sign in to comment.