question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when creating the data universe (10.1164/rccm.201712-2410OC)

See original GitHub issue

Describe the bug I am getting an error message when I try to create the data universe:

Error in checkForRemoteErrors(lapply(cl, recvResult)) : 
 one node produced an error: ValueError: '53-year-old human stage' is not a valid entry for development_stage in data set ['10.1164/rccm.201712-2410OC'].

Detailed traceback:
 File "/home/.cache/R/basilisk/1.4.0/SimBu/0.99.0/sfaira_env2/lib/python3.9/site-packages/sfaira/data/dataloaders/super_group.py", line 31, in __init__
   DatasetSuperGroupLoaders(
 File "/home/.cache/R/basilisk/1.4.0/SimBu/0.99.0/sfaira_env2/lib/python3.9/site-packages/sfaira/data/dataloaders/loaders/super_group.py", line 39, in __init__
   dsg = DatasetGroupDirectoryOriented(
 File "/home/.cache/R/basilisk/1.4.0/SimBu/0.99.0/sfaira_env2/lib/python3.9/site-packages/sfaira/data/dataloaders/base/dataset_group.py", line 773, in __init__
   DatasetBase(
 File "/home/.cache/R/basilisk/1.4.0/SimBu/0.99.0/sfaira_env2/lib/python3.9/site-packages/sfaira/data/dataloaders/base/dataset.py", line 310, in __init__
   set

To Reproduce I am using sfaira in R via reticulate and a conda environment where only sfaira and its dependencies are installed. This is how I am calling sfaira in R (though this error message does not seem to be R related I feel like…):

sfaira <- reticulate::import("sfaira")  
ds <- sfaira$data$Universe(data_path = paste0(tempdir(), "/raw"),
                             meta_path = paste0(tempdir(), "/meta"),
                             cache_path = paste0(tempdir(), "/cache"))

I had sfaira working previously with this setup when I was using the development version 0.3.9+4.gdd849d5 and wanted to upgrade to 0.3.12.

System [please complete the following information]:

  • OS: Ubuntu 20.04.4
  • Language Version: Python 3.9
  • Virtual environment: Conda
  • Sfaira version: 0.3.12

Cheers, Alex

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
alex-d13commented, Apr 19, 2022

Yep, thats what I tried and it just finished without any errors 😃 I used tables==3.7.0.

Thank your for the fast responses!

0reactions
davidsebfischercommented, Apr 19, 2022
  • We ll add tables to the requirements, for now try installing that package into your environment manually?
Read more comments on GitHub >

github_iconTop Results From Across the Web

DataUniverse NJ Public Employees - Asbury Park Press
NJ Public Employee Salaries. Enter a name or select a location to begin your search of employees at the local, county, state and...
Read more >
DataUniverse NJ Crime Reports - Asbury Park Press
County Agency Year Murder Rape Robbery Assault Burglary Atlantic ABSECON CITY PD 2020 0 2 5 18 44 Atlantic ATLANTIC CITY PD 2020 9 28...
Read more >
DataUniverse NJ Authorities Salaries - Asbury Park Press
A list of all employees at New Jersey's various authorities as of Dec. 31, 2021. Enter a name and select 'All Years' to...
Read more >
DataUniverse NJ Convictions - Asbury Park Press
NJ Superior Court conviction records from 2016 through July 2022. Search other databases at DataUniverse home. Disclaimer: The information contained on this ...
Read more >
DataUniverse Ocean County Salaries - Asbury Park Press
Ocean County Salaries. Enter a name or select a location to begin your search. Not all fields need to be filled out. Results...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found