scdataloader 2.0.6__tar.gz → 2.0.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scdataloader
3
- Version: 2.0.6
3
+ Version: 2.0.7
4
4
  Summary: a dataloader for single cell data in lamindb
5
5
  Project-URL: repository, https://github.com/jkobject/scDataLoader
6
6
  Author-email: jkobject <jkobject@gmail.com>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "scdataloader"
3
- version = "2.0.6"
3
+ version = "2.0.7"
4
4
  description = "a dataloader for single cell data in lamindb"
5
5
  authors = [
6
6
  {name = "jkobject", email = "jkobject@gmail.com"}
@@ -454,9 +454,18 @@ def _adding_scbasecamp_genes(
454
454
  if len(species) == 0:
455
455
  species = set(
456
456
  bt.Organism.using("laminlabs/arc-virtual-cell-atlas").df().ontology_id
457
- )
458
- -set(["NCBITaxon:10090", "NCBITaxon:9606"])
457
+ ) - set(["NCBITaxon:10090", "NCBITaxon:9606"])
459
458
  species = list(species)
459
+ for i in set(
460
+ bt.Organism.using("laminlabs/arc-virtual-cell-atlas").df().ontology_id
461
+ ) - set(bt.Organism.filter().df().ontology_id):
462
+ print(i)
463
+ rec = (
464
+ bt.Organism.using("laminlabs/arc-virtual-cell-atlas")
465
+ .filter(ontology_id=i)
466
+ .first()
467
+ )
468
+ rec.save()
460
469
  if len(bt.Organism.filter(ontology_id="NCBITaxon:9593")) == 0:
461
470
  bt.Organism(
462
471
  name="gorilla gorilla",
File without changes
File without changes
File without changes