BiomedSciAI / fuse-med-ml

A python framework accelerating ML based discovery in the medical field by encouraging code reuse. Batteries included :)
Apache License 2.0
137 stars 34 forks source link

A package named "examples" is installed separately from "fuse_examples" #178

Closed alex-golts closed 1 year ago

alex-golts commented 2 years ago

Describe the bug\ I can (seemingly) access all examples code using "import examples.fuse_examples..." instead of "import fuse_examples..." as intended. I think this happens after running pip install -e .[all], before even running pip install -e examples. this is confusing and can lead to users changing imports in a way that's not intended

FuseMedML version\ 0.2.2

Python version\ 3.7.12

To reproduce\ pip install -e .[all] and then import examples (works also when python is ran from any arbitrary directory, not just the fuse-med-ml root dir)

Expected behavior\ It should trigger a "Module not found" error

mosheraboh commented 1 year ago

Fixed in #277