def test_path_exists(tmp_path):
    """Test if the function returns the same path when it already exists."""
    # Create a dummy file to simulate an existing path
    test_file = tmp_path / "test_file"
    test_file.mkdir()
    (test_file / "nmt_scalp_eeg_dataset").mkdir()

    # Assert that the path returned is the same since it exists
    assert _correct_path(str(test_file)) == str(test_file)
Test if the function returns the same path when it already exists.
test/unit_tests/datasets/test_nmt.py