-
Notifications
You must be signed in to change notification settings - Fork 57
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
Revert inline threshold option #610
Revert inline threshold option #610
Conversation
Hi there @drdavella 👋 - thanks for the pull request! I'm just a friendly 🤖 that checks for issues related to the changelog. I help make sure that this pull request is milestoned and labeled correctly. This is mainly intended for the maintainers, so if you are not a maintainer you can ignore this, and a maintainer will let you know if any action is required on your part 😃. Everything looks good from my point of view! 👍 If there are any issues with this message, please report them here. |
1 similar comment
Hi there @drdavella 👋 - thanks for the pull request! I'm just a friendly 🤖 that checks for issues related to the changelog. I help make sure that this pull request is milestoned and labeled correctly. This is mainly intended for the maintainers, so if you are not a maintainer you can ignore this, and a maintainer will let you know if any action is required on your part 😃. Everything looks good from my point of view! 👍 If there are any issues with this message, please report them here. |
This PR retains the tests that were added and also retains a helper function for deciding when to inline since those will be useful for any future work and I don't want to lose them. |
This feature has proved to be too problematic to be supported in an official release. The semantics are unfortunately rather complicated due to the fact that the same
AsdfFile
object can be used both for reading and for writing. It also turns out that there already exists an option towrite_to
calledauto_inline
that serves a similar purpose, although I believe it may not be working properly in all cases (see #599).Also, to complicate matters further, neither
inline_threshold
norauto_inline
are idempotent, meaning that both modify the underlyingAsdfFile
object in undesirable ways. This has exposed some significant design warts in theasdf
API and implementation that need to be addressed, although that will be difficult and will probably lead to significant user-facing changes.I hope to revisit this and address the issues in an upcoming PR, but I have begun to consider whether we need to make some significant design changes for 3.0.
cc @jdavies-st