LAAC-LSCP / ChildProject

Python package for the management of day-long recordings of children.
https://childproject.readthedocs.io
MIT License
13 stars 5 forks source link

VTC converter bug with filenames using only digits #457

Closed LoannPeurey closed 5 months ago

LoannPeurey commented 5 months ago

Is your feature request related to a problem? Please describe. the converter for rttm (vtc converter) does not work with a filter when the name of the files is composed exclusively of digits, pandas parses it as a number and not as a string, causing the filter to fail

Describe the solution you'd like insert here https://github.com/LAAC-LSCP/ChildProject/blob/984c01f5704fc8acd565e1b7c348e8b6b5af6b6e/ChildProject/converters.py#L111 a dtype constraint to force the filename to be string