diff --git a/explore_data.py b/explore_data.py index ddde63e8c45af732d425bbd2bf4ae973b07bae9a..b101d634d72f6602b98ef1444b8d07bc2a3836cc 100644 --- a/explore_data.py +++ b/explore_data.py @@ -141,7 +141,7 @@ def main(): # TODO warning for for the [:1] for filepath in filepaths[:1]: - filename = filepath.split("\\")[-1].split(".")[0] + filename = os.path.split(filepath)[-1].split(".")[0] raw_mat = scipy.io.loadmat(filepath) mat = raw_mat[filename][0][0][0][0]