We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to the documentation of BaseModel.prepare() if there's no Lineage specified, the weights will be set to 1. In such case Line 366
probs = Lineage.from_adata(self.adata, backward=backward)
throws a KeyError: "Unable to find lineage data in adata.obsm['lineages_fwd']:
KeyError: "Unable to find lineage data in adata.obsm['lineages_fwd']
Therefore Line 432 is never reached :
if lineage is not None: weight_threshold, val = weight_threshold w = _densify_squeeze(probs.X, self._dtype) w[w < weight_threshold] = val else: w = np.ones(len(x), dtype=self._dtype) ##432
I know having no lineage computed is non-standard functionality within your pipeline, but I thought it might be worth bringing it up.
The text was updated successfully, but these errors were encountered:
Hi @nrclaudio , thanks a lot for pointing this out, will fix to match the docs!
Sorry, something went wrong.
Hi @michalk8, can we close this?
michalk8
No branches or pull requests
According to the documentation of BaseModel.prepare() if there's no Lineage specified, the weights will be set to 1. In such case Line 366
throws a
KeyError: "Unable to find lineage data in adata.obsm['lineages_fwd']
:Therefore Line 432 is never reached :
I know having no lineage computed is non-standard functionality within your pipeline, but I thought it might be worth bringing it up.
The text was updated successfully, but these errors were encountered: