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 analysis-flow registration #148

Merged
merged 4 commits into from
Aug 30, 2024
Merged

Conversation

Zethson
Copy link
Member

@Zethson Zethson commented Aug 30, 2024

No description provided.

@Zethson Zethson marked this pull request as ready for review August 30, 2024 11:10
Signed-off-by: zethson <[email protected]>
Copy link

github-actions bot commented Aug 30, 2024

@github-actions github-actions bot temporarily deployed to pull request August 30, 2024 11:19 Inactive
@Zethson Zethson merged commit f129e5c into main Aug 30, 2024
6 checks passed
@Zethson Zethson deleted the fix/analysis-flow-usecase branch August 30, 2024 11:20
@@ -14,11 +14,13 @@
var_index=bt.Gene.ensembl_gene_id,
categoricals={
"cell_type": bt.CellType.name,
"cell_type_id": bt.CellType.ontology_id,
Copy link
Member

Choose a reason for hiding this comment

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

Why was this needed? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

• 1 non-validated categories are not saved in Feature.name: ['cell_type_id']!
      → to lookup categories, use lookup().columns
      → to save, run add_new_from_columns

is what you get otherwise

Copy link
Member

Choose a reason for hiding this comment

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

Ok 🤔

Is that a warning or does it prevent .validate() from succeeding? What if I'm not interested in validating that column? Often times, I'd like to keep a few "raw columns" around and only want to validate the "gold columns", right?

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.

2 participants