center-randomize
center-randomize copied to clipboard
[BugReport] output directory generation not working as expected.
https://github.com/moest-np/center-randomize/blob/607f3db84e5e589f49cf8c9cb165dfa24c0e0b32/school_center.py#L163C44-L163C53
if your comandline argument has ouptput unter a directory structure. thsi produces Directory not found Error.
Steps to reproduce:
python3 school_center.py sample_data/schools_grade12_2081.tsv sample_data/centers_grade12_2081.tsv sample_data/prefs.tsv -o sample_data/output_main.tsv
Traceback (most recent call last):
File "/Users/user/Documents/MOEST/center-randomize/school_center.py", line 165, in