From 0f85e0a82467a774b3efa5b565ef2bd528813e9a Mon Sep 17 00:00:00 2001 From: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com> Date: Wed, 29 May 2024 16:19:19 -0400 Subject: [PATCH] Update src/electron/frontend/core/components/pages/guided-mode/results/GuidedResults.js --- .../components/pages/guided-mode/results/GuidedResults.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/electron/frontend/core/components/pages/guided-mode/results/GuidedResults.js b/src/electron/frontend/core/components/pages/guided-mode/results/GuidedResults.js index 61f2a57de..88d8b86ad 100644 --- a/src/electron/frontend/core/components/pages/guided-mode/results/GuidedResults.js +++ b/src/electron/frontend/core/components/pages/guided-mode/results/GuidedResults.js @@ -63,17 +63,16 @@ export class GuidedResultsPage extends Page { all the necessary data.
${new CodeBlock({ - text: `from pynwb import NWBHDF5IO, NWBFile, TimeSeries + text: `from pynwb import NWBHDF5IO, NWBFile -filename = "${this.#sharedPath()}" +nwbfile_path= "${this.#sharedPath()}" # Open the file -with NWBHDF5IO(filename, "r+") as io: +with NWBHDF5IO(path=nwbfile_path, mode="r+") as io: nwbfile = io.read() # Adjust the file as needed # ... - `, })}