Closed MarcSpeckmann closed 6 months ago
@XxHalbfettxX Fixed?
The fix works, for the .DS_Store and similar files.
An advanced solution can be that we also check with os.path.isdir
.
Additionally, you could write a module/class that is only responsible for loading the data, so there is less duplicate code and maintenance is easier.
I didn't create a pull request for this because I'm not sure how important something like this is to you in this project.
When the operating system creates files like .DS_Store, the programme uses .DS_Store like a folder and crashes.
https://github.com/LUH-DBS/ED-Scale/blob/9e21c42ea70aeae20a8200f1aad2db74d5b2b5a3/dataset_clustering.py#L60-L70