Skip to content

Added centering to basic line layouts#1

Open
liamletnic wants to merge 2 commits intofabilab:mainfrom
liamletnic:main
Open

Added centering to basic line layouts#1
liamletnic wants to merge 2 commits intofabilab:mainfrom
liamletnic:main

Conversation

@liamletnic
Copy link

In: ilayoutx/python/layouts/basic_layouts.py

Added center argument to the line() function. Centering works by adding center values to coordinate array, uses the same logic as as the circle() function.

@iosonofabio
Copy link
Contributor

Thanks @liamletnic , missed this one.

Does it pass tests on yoir machine? We're having a little trouble on github's CI

@iosonofabio
Copy link
Contributor

I think the logic is that of a shift more than a recentering? Thete is a recentering function in the utils.py module that you could use

@iosonofabio
Copy link
Contributor

Thank again, I now fixed the GitHub CI issues and merged the latest commit into this branch so you can have a working testing infrastructure on CI. The next step for you would be to pull from this branch, then make any changes to the codebase.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants