-
Notifications
You must be signed in to change notification settings - Fork 12
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
move python helpers #71
base: main
Are you sure you want to change the base?
Conversation
casperdcl
commented
Nov 13, 2024
- fixes organisation of files (and usability of PyPI and conda-forge distributions) #70
ah ok. I guess I was thinking about having Presumably this will need 0.3.0 as opposed to 0.2.2. I'd be nice to move the C++ stuff as well before we tag though, but I haven't given that any thought really. |
- fixes #70
e770dcd
to
693afaa
Compare
@@ -2,12 +2,11 @@ | |||
# Copyright (C) 2023-2024 University College London | |||
# | |||
# SPDX-License-Identifier: Apache-2.0 | |||
|
|||
import sys | |||
|
|||
import petsird |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw I'm leaving this as an absolute import to make it easier for users to copy-paste
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but wouldn't that apply to the line below as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ish... depends on whether you expect users to do from petsird.helpers import ...
(which sounds to me like a failure on yardl
's part... isn't the point of yardl
to not require boilerplate helpers?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't the point of
yardl
to not require boilerplate helpers?
yes, but some of these helpers are a bit too complicated to be able to be auto-generated. (How would you encode matrix multiplications of rigid transformations and coordinates in yardl? Seems very hard...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to change as you see fit :)
I don't know enough about this project's long-term direction to advise either way. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As long as you rename the PR to "move python helpers", I'm fine. Let's not merge yet though and wait for some more comments (if any).