diff --git a/docs/notebooks/process_svd.ipynb b/docs/notebooks/process_svd.ipynb index d67ec14..a624ea5 100644 --- a/docs/notebooks/process_svd.ipynb +++ b/docs/notebooks/process_svd.ipynb @@ -90,7 +90,8 @@ "outputs": [], "source": [ "from facemap import process\n", - "from glob import glob" + "from glob import glob\n", + "import numpy as np" ] }, { @@ -192,13 +193,15 @@ " video_files = glob(folder+\"/*.ext\") # replace .ext with one of ['*.mj2','*.mp4','*.mkv','*.avi','*.mpeg','*.mpg','*.asf']\n", " process.run(video_files)\n", " # if SVDs of ROIs is required, use 'save ROIs' from GUI and use the following command\n", - " process.run(video_files, proc=\"/path_to_saved_rois\")" + " proc = np.load(\"/path_to_saved_rois\").item()\n", + " proc[\"savepath\"] = None\n", + " process.run(video_files, proc=proc)" ] } ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -212,7 +215,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.13" + "version": "3.12.9" } }, "nbformat": 4,