-
Notifications
You must be signed in to change notification settings - Fork 4
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
Suggestion: Remove circular dependencies #376
Comments
Aurora is intended to show a pathway to generating Up until recently there were no circular imports, however, a concept that were developed in I have wrapped a |
Would it make sense to move |
@kujaku11 what do you think about @jcapriot's suggestion? Since the processing stuffs in |
@jcapriot @kkappler I think we could probably move I guess I had thought of the workflow of: data in mth5, mtpy organizes the data to be processed, and then sends it to a processing software like aurora. I think the circular import might be an easy fix cause but I'll have a closer look. We should probably clean up dependencies anyway. |
@kkappler @jcapriot Upon further review, I think you guys are correct. The best option would be to put |
Both packages Aurora and mtpy-v2 list each other as runtime requirements. While this is not explicitly disallowed in python packaging, it can lead to some installation struggles, and potential circular imports, thus me marking this as a suggestion.
My suggestion is to better define what each package attempts to handle. My suspicion is that
mtpy-v2
should depend onaurora
, and not the other way around. Likely using the underlyingmth5
and/ormt_metadata
as the dedicated exchange format between the two.I’m happy to help resolve any dependencies, or help refactor a bit of code, as long as there’s a clear description of what each package is meant to do.
I’ll open a matching PR on
mtpy-v2
The text was updated successfully, but these errors were encountered: