diff --git a/ethome/io.py b/ethome/io.py index 8655240..20f5354 100644 --- a/ethome/io.py +++ b/ethome/io.py @@ -77,7 +77,7 @@ def read_DLC_tracks( """ ext = os.path.splitext(fn_in)[1] - if ext == "h5" or ext == "hdf5" or ext == "hdf": + if ext == ".h5" or ext == ".hdf5" or ext == ".hdf": df = pd.read_hdf(fn_in) ext = "h5" else: