Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend function should work on empty networks #2331

Open
jgostick opened this issue Feb 24, 2022 · 0 comments
Open

Extend function should work on empty networks #2331

jgostick opened this issue Feb 24, 2022 · 0 comments

Comments

@jgostick
Copy link
Member

The following should work but does not:

pn = op.network.GenericNetwork()
coords = [
    [1, 1, 0],
    [2, 2, 0],
    [1, 2, 0],
]
op.topotools.extend(network=pn, pore_coords=coords)

And similarly, sending conns also breaks if no previous conns are present.

@jgostick jgostick added this to the v3+ - Future Enhancements milestone Mar 15, 2022
@ma-sadeghi ma-sadeghi changed the title extend function should work on empty networks Extend function should work on empty networks Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant