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.

Annotate_dataloader fails without misc attribute

See original GitHub issue

I wrote a dataloader and ran validate_dataloader on my yaml file. The resulting new yaml file does not contain any arguments for misc

feature_wise:
    gene_id_ensembl_var_key:
    gene_id_symbols_var_key: "index"
misc:
meta:
    version: "1.0"

which causes problems later when running annotate_dataloader here since there is no value for misc: https://github.com/theislab/sfaira/blob/dab9cb3f6d89dc6c6b52f9ce23c9a7e938e4d91b/sfaira/data/utils.py#L121

TypeError: 'NoneType' object is not iterable

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
davidsebfischercommented, Aug 20, 2021

Ok, I think there may be a couple of improvements on dev still and it could be that this bug is already addressed there!

1reaction
Zethsoncommented, Aug 20, 2021

@davidsebfischer just checked as well. Can’t see it in dev anymore. Should be good to go with a new release 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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