[python] deprecate tiledbsoma.io resume mode#4083
Conversation
* deprecate tiledbsoma.io.create_from_matrix * add change log entry * [python] deprecate tiledbsoma.io resume mode (#4083) * add deprecation for ingest resume mode * add change log entry * add docstring
* deprecate io.append_ functions * changelog entry * mark previously deprecated functions with decorator * clean up whitespace * [python] deprecate tiledbsoma.io.create_from_matrix (#4082) * deprecate tiledbsoma.io.create_from_matrix * add change log entry * [python] deprecate tiledbsoma.io resume mode (#4083) * add deprecation for ingest resume mode * add change log entry * add docstring
|
I'm a bit sad to see this go. We use this option quite a lot - never for multi-dataset appends. When ingestions error out, "just re-ingest from scratch" (if I'm reading the above correctly) is not a very satisfying alternative to this In addition, this function has nice properties that we use for other use cases. From a conversation with James.
In short, given SOMA A1 and SOMA A2, add the "extra" arrays that are in A2 to A1. The user guarantees that SOMA A2 is just SOMA A1 plus some added arrays. |
|
I still don't fully understood the various ingestion mode behaviors, so I suppose I'm not sad to see it go personally. @maarten-devries We should probably instead use the API to check whether we have these slots in the SOMA. If we don't then we can likely use tiledbsoma.io.add_matrix_to_collection. I'm less certain about |
|
@maarten-devries and @jggatter, thanks to you both for the feedback. Mind if I follow-up on Slack to hear more about the workflows described here? |
Issue and/or context:
"resume"mode for tiledbsoma.io ingestion methods is deprecatedFixes SOMA-152
Changes:
from_anndatato allow consistent stacklevel warningExample deprecation message: