[BUG] Usage of eval is bad practice: use factory design pattern #77
Labels
bug
Something isn't working
mid priority
The issue is to be solved when possible, as this is a relevant addition to the library
Milestone
In the TorchDataLoader class:
giotto-deep/gdeep/data/torch_datasets.py
Line 84 in f62b2ef
the eval method for strings is used, which is not type-checked and makes it hard to detect errors.
Hence it should not be used anywhere in the library.
Other parts in the library also use eval; this is only one example.
The text was updated successfully, but these errors were encountered: