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

🐛 Let Curator.from_tiledbsoma() validate and annotate all .obs columns #2287

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

falexwolf
Copy link
Member

@falexwolf falexwolf commented Dec 16, 2024

@@ -1168,8 +1171,12 @@ def _check_save_keys(self):
with _open_tiledbsoma(self._experiment_uri, mode="r") as experiment:
experiment_obs = experiment.obs
self._n_obs = len(experiment_obs)
valid_obs_keys = [k for k in experiment_obs.keys() if k != "soma_joinid"]
valid_obs_keys = [
k for k in experiment_obs.schema.names if k != "soma_joinid"
Copy link
Member

Choose a reason for hiding this comment

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

Please read from the saved schema here to avoid redundant requests, maybe they cache but let’s be careful anyways.

Copy link
Member

Choose a reason for hiding this comment

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

You save the schema on the next line anyways.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done!

@Koncopd
Copy link
Member

Koncopd commented Dec 16, 2024

Thank you for fixing, this is great, just one small thing here to correct.

@falexwolf falexwolf changed the title 🐛 Let tiledbsoma validate and annotate all .obs columns 🐛 Let tiledbsoma validate and annotate all .obs columns Dec 17, 2024
@falexwolf falexwolf changed the title 🐛 Let tiledbsoma validate and annotate all .obs columns 🐛 Let Curator.from_tiledbsoma() validate and annotate all .obs columns Dec 17, 2024
Copy link

codecov bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.82%. Comparing base (2a17099) to head (5c13548).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2287   +/-   ##
=======================================
  Coverage   92.82%   92.82%           
=======================================
  Files          55       55           
  Lines        7202     7208    +6     
=======================================
+ Hits         6685     6691    +6     
  Misses        517      517           

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

Copy link

@github-actions github-actions bot temporarily deployed to pull request December 17, 2024 10:31 Inactive
@falexwolf falexwolf merged commit d7f3eec into main Dec 17, 2024
16 checks passed
@falexwolf falexwolf deleted the tiledbsomafeatures branch December 17, 2024 11:16
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.

🐛 Curator.from_tiledbsoma() omits simple feature dtypes in the dataset
2 participants