-
Notifications
You must be signed in to change notification settings - Fork 154
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
v0.7 #171
Comments
Do we want “2d only” (the second breaking change) in something called 0.7? I think to signal a breaking change and closeness to 1.0, we could name this version 0.90 or so! (not 0.99, because then we’ll end up having 0.999, 0.9999, …) |
Another change we could think about: unifying .layers and .X Maybe .X should just be a property returning the first layer? or the layer called |
I would understand the change from I would have to know that this was a dramatic change that broke a lot of stuff before thinking any out of the ordinary versioning semantics were used. The change to always 2d doesn't break many tests here or for scanpy. Additionally I do think we should do a |
Well, if the fallout isn’t that bad, I agree, we can just call it 0.7 That being said, skipping from |
@ivirshup: Agreed with everything! Terrific! Agreed in particular with |
@flying-sheep, I suppose |
I've added that warning, what else has to be done before we can release |
Nothing, I think. I'm happy to make the release if you don't want to do it. 🙂 |
Just realized there are probably a couple bugs to fix prior to that:
|
Great that you're addressing these!
Agreed! |
I think we're good for |
Made release |
Previously had relied on subsetting the entire object to get vector of X. Now just normalizes index. Also stops throwing warning about changing behaviour. Whoops. scverse#171 (comment)
Previously had relied on subsetting the entire object to get vector of X. Now just normalizes index. Also stops throwing warning about changing behaviour. Whoops. #171 (comment)
It would be great if you could start publishing wheels too, it’s almost no additional work: python3 setup.py sdist bdist_wheel
twine upload dist/anndata-0.7{.tar.gz,-py3-none-any.whl} I always have to go back and retroactively make wheels. |
Oh sorry, I thought we stopped publishing wheels 1.5 years after going from cython to numba. 😆Had you told me that we wanted to continue (what for, btw?, there is no compilation involved), I'd continued publishing wheels of Mac. |
There’s not that much of an advantage anymore but wheels are faster to install, as setup.py doesn’t need to be run on the target machines – the wheels will simply be unpacked. |
Could the release process get documented, potentially with scripts or snippets? I'd like to be able to help out with that, but I'd like to know I was doing it right. |
It’s not more than this, but we can document it, yes: $ git tag x.y.z
$ python3 setup.py sdist bdist_wheel
$ twine upload scanpy-x.y.z-py3-none-any.whl scanpy-x.y.z.tar.gz
$ git push --tags |
Just push a big update which cleans up the reading and writing code a lot, as well as improving performance. It does make some changes to the on disk structure, but you should be able to read older files. Added features mean you can now have data frames and sparse matrices stored in any of the It would be great if people could try out current master and let me know if they find any bugs! |
Yes! I need to take another look at fixing scverse/scanpy#832 before this can go though. I'm going to check if there's any chance this could get sorted upstream first. |
Hmm, we should deprecate |
What is the alternative to |
For adata.obs['foo'].cat.categories = new_categories
# or
adata.obs['foo'].cat.rename_categories(..., inplace=True) For the |
The nice thing about |
We just (pre-)released AnnData 0.7rc1 with it deprecated. We should move the code to scanpy as a documented utility I think. |
Alex reverted stuff on master because there’s no alternatives, so my idea of our path forwards is now:
|
Could we try to have a discussion instead of you making absolute statements?
|
Sorry for not outlining this clearly enough, I was busy celebrating Christmas and my birthday! OK, so we have two changes that need to happen (at least in the long, if not short run). We should only have the deprecations in the final anndata 0.7 release if we manage to get the correct behavior into anndata and scanpy quickly enough.
I’d like 2 to happen before the next release because obsp/varp exists already and we need to keep people from relying on the old behavior. |
OK, seems like we got it. Now to all the exciting changes enabled by this! |
I'd like to have some organization around the upcoming release. I'd like to have a list of all planned and included changes for
v0.7
Please edit this for anything I forgot!New features
obsp
,varp
for pairwise measures Backwards breaking change: Sparse observation and variables annotation #136.obsm
,.varm
,.layers
,.uns
adata.uns dataframe gets converted into numpy.ndarray when saving and loading h5ad #134h5ad
spec (with backwards compatable reading)Breaking changes
.X
inplace via a view, even if value was set with denseAnnData
object will not reduce dimensionality of contained arraysTODO:
AnnData
(merge Views of views #164) (always 2d) inconsistent slicing of .X vs .layer #145obsp
,varp
attributes (uncomment)scanpy
and others work with new behaviourrename_categories
The text was updated successfully, but these errors were encountered: