Skip to content
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

Keep data lineage when getting data from other instances #98

Open
Zethson opened this issue Nov 21, 2024 · 3 comments
Open

Keep data lineage when getting data from other instances #98

Zethson opened this issue Nov 21, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Zethson
Copy link
Member

Zethson commented Nov 21, 2024

We observed that when data from any non-default instance such as cellxgene is used as input during a Run, it does not show up in the linage graph.

@lazappi had suggested that this is probably because of our usage of the API to get the data and not the Python code which probably does more magic.

@Zethson Zethson added the bug Something isn't working label Nov 21, 2024
@falexwolf
Copy link
Member

The problem is that reticulate isn't used for .load() and .cache().

If reticulate was used, this would all be resolved.

Hence, the fix should be using reticulate for these two methods and it's going to work.

@lazappi
Copy link
Collaborator

lazappi commented Nov 22, 2024

I think we should have a discussion about whether it is worth using the API at all. We have about reached the limit of what the API can do currently and if we have to use {reticulate} for some things anyway, maybe it's better to use it for everything? It would mean a fairly big refactor but after that development might be quicker.

@falexwolf
Copy link
Member

Yes, we should have that discussion next week or so, I agree.

But what's indeed much better with the API is that you're not relying on 20 Python packages that Django needs to map all the schema modules.

So, it's not a clear decision pro reticulate for querying say bionty. That's likely more elegant through the REST API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants