zhifu gao
2025-03-28 d629b1084b6e3c02b1d92731e84014a6dc5a6b78
funasr/utils/datadir_writer.py
@@ -3,7 +3,6 @@
import warnings
class DatadirWriter:
    """Writer class to create kaldi like data directory.
@@ -63,8 +62,7 @@
                child.close()
                if prev_child is not None and prev_child.keys != child.keys:
                    warnings.warn(
                        f"Ids are mismatching between "
                        f"{prev_child.path} and {child.path}"
                        f"Ids are mismatching between " f"{prev_child.path} and {child.path}"
                    )
                prev_child = child