Closed zwep closed 1 year ago
Describe the bug
On the page https://docs.aiforoncology.nl/direct/datasets.html there is an example class called 'MyDatasetConfig'.
There the following is defined
lists: List[str] = field(default_factory=lambda: [])
I think it would help if an additional import statement is added:
from datasets import fields
since the original direct/data/datasets_config.py file does not contain it
To Reproduce Go to https://docs.aiforoncology.nl/direct/datasets.html Check the example datasetconfig implementation
Expected behavior I expected to not have errors when I paste this piece of code
Environment dlup version: Not installed. direct version: 1.0.5.dev0 How installed: using conda Python version: 3.9 Operating System: NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye
Additional context Add any other context about the problem here. `
Describe the bug
On the page https://docs.aiforoncology.nl/direct/datasets.html there is an example class called 'MyDatasetConfig'.
There the following is defined
lists: List[str] = field(default_factory=lambda: [])
I think it would help if an additional import statement is added:
from datasets import fields
since the original direct/data/datasets_config.py file does not contain it
To Reproduce Go to https://docs.aiforoncology.nl/direct/datasets.html Check the example datasetconfig implementation
Expected behavior I expected to not have errors when I paste this piece of code
Environment dlup version: Not installed. direct version: 1.0.5.dev0 How installed: using conda Python version: 3.9 Operating System: NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye
Additional context Add any other context about the problem here. `