[BUG] OSError for non existent folder when running convert.py
#35
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug Description
When
convert.pyran, the script return error because the folder seems not pre-created.Steps to Reproduce
py convert.py D:\thesis\data\dataset_B D;\thesis\data\converted\raw_B BExpected Behavior
The script should have handler exception to automatically create the folder
Actual Behavior
The script doesn't have handler exception, hence give
OSErrorError Logs
Component
Data Processing
Version/Commit
8ab934fEnvironment
No response
Additional Context
No response
The code seems creating output directories for damage scenarios in the
mainfunction, but it seems only creating directories for damage scenarios 1 to 4.8ed1437d6d/data/QUGS/convert.py (L61-L62)However, the
create_damage_filesfunction handles damage scenarios 1 to 6.