What kind of feature would you like to request?
Additional function parameters / changed functionality / changed defaults?
Please describe your wishes
scanpy.external.pp.harmony_integrate assumes the old harmonypy output format and applies Z_corr.T.
However, since harmonypy>=0.1.0, Z_corr is already returned in cells × PCs format, so the transpose is no longer needed. This leads to shape mismatches or incorrect embeddings.