Skip to content

Commit

Permalink
<API Update>[]: <Ogl Update II>
Browse files Browse the repository at this point in the history
[]

[#80]
  • Loading branch information
Humberto Sanchez II committed Jul 1, 2024
1 parent 52b1cf0 commit f8e2123
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 20 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
pip install html-testRunner~=1.2.1
pip install attrdict3
pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 wxPython
pip install codeallybasic==1.3.0
pip install codeallyadvanced==1.3.1
pip install pyutmodelv2>=2.1.5
pip install codeallybasic>=1.3.2
pip install codeallyadvanced>=1.3.1
pip install pyutmodelv2>=2.1.6
pip install ogl>=3.0.0
pip install untangle==1.2.1
pip install buildlackey==1.6.3
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ keywords = ['pyut', 'graphical shapes', 'python', 'xml']

dependencies = [
'untangle==1.2.1',
'codeallybasic>=1.3.0',
'codeallybasic>=1.3.2',
'codeallyadvanced>=1.3.1',
'pyutmodelv2>=2.1.5',
'pyutmodelv2>=2.1.6',
'ogl>=3.0.0',
]

Expand Down
22 changes: 9 additions & 13 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
wheel==0.42.0
setuptools==69.1.1
twine==5.0.0
build==1.1.1
wheel==0.43.0
setuptools==70.2.0
twine==5.1.1
build==1.2.1
html-testRunner~=1.2.1

buildlackey==1.6.3

mypy==1.9.0
mypy==1.10.1
mypy-extensions==1.0.0
types-Deprecated==1.2.9.20240106
types-setuptools==69.1.0.20240310
typing_extensions==4.10.0

Deprecated~=1.2.14
typing_extensions==4.12.2

untangle==1.2.1
wxPython==4.2.1

codeallybasic==1.3.0
codeallyadvanced==1.3.1
codeallybasic>=1.3.2
codeallyadvanced>=1.3.1

pyutmodelv2>=2.1.5
pyutmodelv2==2.1.6
ogl>=3.0.0
2 changes: 1 addition & 1 deletion src/untanglepyut/BaseUnTangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from logging import Logger
from logging import getLogger

from miniogl.ShapeModel import ShapeModel
from miniogl.models.ShapeModel import ShapeModel

from ogl.OglObject import OglObject

Expand Down
2 changes: 1 addition & 1 deletion src/untanglepyut/UnTangleOglLinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def _graphicLinkToOglLink(self, graphicLink: Element, linkableOglObjects: Linkab
dstModel.SetPosition(x=gla.dstX, y=gla.dstY)

# add the control points to the line
line = srcAnchor.GetLines()[0] # only 1 line per anchor in Pyut
line = srcAnchor.lines[0] # only 1 line per anchor in Pyut
parent = line.sourceAnchor.parent
selfLink: bool = parent is oglLink.destinationAnchor.parent

Expand Down

0 comments on commit f8e2123

Please sign in to comment.