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

🐛 Fix transfering artifacts from a source instance with fewer schema modules #2132

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

sunnyosun
Copy link
Member

@sunnyosun sunnyosun commented Nov 5, 2024

Resolves: #2117

@falexwolf falexwolf changed the title 🐛 Fix saving artifacts from remote instance of less schema 🐛 Fix transfering artifacts from a source instance with fewer schema modules Nov 5, 2024
@@ -100,8 +100,17 @@ def test_transfer_from_remote_to_local():
assert artifact2.organisms.get(name="mouse") == bt.settings.organism
assert artifact.features["obs"].get(name="organism").uid == "existing"

# test transfer form a remote instance with less schema modules to a local instance (laminlabs/lamin-site-assets)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be called "source instance" and "fewer schema modules than target instance".

"local" and "remote" aren't relevant concepts here.

@Koncopd
Copy link
Member

Koncopd commented Nov 5, 2024

We are running at the same time.

@sunnyosun sunnyosun merged commit 888597a into main Nov 5, 2024
13 checks passed
@sunnyosun sunnyosun deleted the transfer-tests branch November 5, 2024 17:00
Copy link

codecov bot commented Nov 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.56%. Comparing base (57fbd29) to head (f165103).
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2132      +/-   ##
==========================================
+ Coverage   92.53%   92.56%   +0.03%     
==========================================
  Files          55       55              
  Lines        6467     6469       +2     
==========================================
+ Hits         5984     5988       +4     
+ Misses        483      481       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Nov 5, 2024

@github-actions github-actions bot temporarily deployed to pull request November 5, 2024 17:05 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Loading dataset from a different instance that does not have all schemas of the current instance errors
3 participants