laminlabs / bionty-base

Access public biological ontologies.
https://bionty-base.lamin.ai
Apache License 2.0
16 stars 2 forks source link

Standalone misses lamindb_current_sources.yaml #418

Closed Zethson closed 1 year ago

Zethson commented 1 year ago

FileNotFoundError: [Errno 2] No such file or directory: '/home/zeth/miniconda3/envs/ehrapy/lib/python3.10/site-packages/bionty/sources/.lamindb_current_sources.yaml'

After upgrading to the latest version in a new environment and attempting to create a Disease object.

standalone mode

Zethson commented 1 year ago

(I can also have a look tomorrow)

sunnyosun commented 1 year ago

This is the intended behavior, this file is only generated if one init or loads an instance. Standalone bionty doesn't need this file.

I'm guessing what you have there is that you still have a local instance running. Could you try running "lamin close" with the most recent lamindb-setup?

Zethson commented 1 year ago

Ohhhhh indeed! I still had one running... I forgot about it :)