Skip to content

Commit

Permalink
fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD committed Jul 21, 2022
1 parent d09aee6 commit fdb4887
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/conversion_examples_gallery/imaging/hdf5imaging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Convert HDF5 imaging data to NWB using :py:class:`~nwb_conversion_tools.datainte
>>> from datetime import datetime
>>> from dateutil import tz
>>> from pathlib import Path
>>> from nwb_conversion_tools import Hdf5ImagingInterface
>>> from neuroconv import Hdf5ImagingInterface
>>>
>>> file_path = OPHYS_DATA_PATH / "imaging_datasets" / "hdf5" / "demoMovie.hdf5"
>>> interface = Hdf5ImagingInterface(file_path=file_path, verbose=False)
Expand Down
2 changes: 1 addition & 1 deletion docs/conversion_examples_gallery/imaging/scanbox.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Convert Scanbox imaging data to NWB using :py:class:`~nwb_conversion_tools.datai
>>> from datetime import datetime
>>> from dateutil import tz
>>> from pathlib import Path
>>> from nwb_conversion_tools import SbxImagingInterface
>>> from neuroconv import SbxImagingInterface
>>>
>>> file_path = OPHYS_DATA_PATH / "imaging_datasets" / "Scanbox" / "sample.sbx"
>>> interface = SbxImagingInterface(file_path=file_path, verbose=False)
Expand Down
2 changes: 1 addition & 1 deletion docs/conversion_examples_gallery/imaging/scanimage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Convert ScanImage imaging data to NWB using :py:class:`~nwb_conversion_tools.dat
>>> from datetime import datetime
>>> from dateutil import tz
>>> from pathlib import Path
>>> from nwb_conversion_tools import ScanImageImagingInterface
>>> from neuroconv import ScanImageImagingInterface
>>>
>>> file_path = OPHYS_DATA_PATH / "imaging_datasets" / "Tif" / "sample_scanimage.tiff"
>>> interface = ScanImageImagingInterface(file_path=file_path, verbose=False)
Expand Down
2 changes: 1 addition & 1 deletion docs/conversion_examples_gallery/imaging/tiff.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Convert Tiff imaging data to NWB using :py:class:`~nwb_conversion_tools.datainte
>>> from datetime import datetime
>>> from dateutil import tz
>>> from pathlib import Path
>>> from nwb_conversion_tools import TiffImagingInterface
>>> from neuroconv import TiffImagingInterface
>>>
>>> file_path = OPHYS_DATA_PATH / "imaging_datasets" / "Tif" / "demoMovie.tif"
>>> interface = TiffImagingInterface(file_path=file_path, sampling_frequency=15.0, verbose=False)
Expand Down
2 changes: 1 addition & 1 deletion docs/conversion_examples_gallery/recording/axona.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Convert axona data to NWB using :py:class:`~nwb_conversion_tools.datainterfaces.
>>> from datetime import datetime
>>> from dateutil import tz
>>> from pathlib import Path
>>> from nwb_conversion_tools import AxonaRecordingExtractorInterface
>>> from neuroconv import AxonaRecordingExtractorInterface
>>>
>>> # For this interface we need to pass the location of the ``.bin`` file
>>> file_path = f"{ECEPHY_DATA_PATH}/axona/axona_raw.bin"
Expand Down
2 changes: 1 addition & 1 deletion docs/conversion_examples_gallery/recording/blackrock.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Convert Blackrock data to NWB using :py:class:`~nwb_conversion_tools.datainterfa
>>> from datetime import datetime
>>> from dateutil import tz
>>> from pathlib import Path
>>> from nwb_conversion_tools import BlackrockRecordingExtractorInterface
>>> from neuroconv import BlackrockRecordingExtractorInterface
>>>
>>> # For this interface we need to pass the location of the ``.ns5`` file
>>> file_path = f"{ECEPHY_DATA_PATH}/blackrock/FileSpec2.3001.ns5"
Expand Down
2 changes: 1 addition & 1 deletion docs/conversion_examples_gallery/recording/intan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Convert Intan data to NWB using :py:class:`~nwb_conversion_tools.datainterfaces.
>>> from datetime import datetime
>>> from dateutil import tz
>>> from pathlib import Path
>>> from nwb_conversion_tools import IntanRecordingInterface
>>> from neuroconv import IntanRecordingInterface
>>>
>>> # For this data interface we need to pass the location of the `.rhd` file
>>> suffix = "rhd" # This can also be rhs
Expand Down
2 changes: 1 addition & 1 deletion docs/conversion_examples_gallery/recording/neuralynx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Convert Neuralynx data to NWB using :py:class:`~.nwb_conversion_tools.datainterf
>>> from datetime import datetime
>>> from dateutil import tz
>>> from pathlib import Path
>>> from nwb_conversion_tools import NeuralynxRecordingInterface
>>> from neuroconv import NeuralynxRecordingInterface
>>>
>>> # For this data interface we need to pass the folder where the data is
>>> folder_path = f"{ECEPHY_DATA_PATH}/neuralynx/Cheetah_v5.7.4/original_data"
Expand Down
2 changes: 1 addition & 1 deletion docs/conversion_examples_gallery/recording/neuroscope.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Convert Neuroscope data to NWB using :py:class:`~nwb_conversion_tools.datainterf
>>> from datetime import datetime
>>> from dateutil import tz
>>> from pathlib import Path
>>> from nwb_conversion_tools import NeuroscopeRecordingInterface
>>> from neuroconv import NeuroscopeRecordingInterface
>>>
>>> # For Neuroscope we need to pass the location of the `.dat` file
>>> file_path = f"{ECEPHY_DATA_PATH}/neuroscope/test1/test1.dat"
Expand Down
2 changes: 1 addition & 1 deletion docs/conversion_examples_gallery/recording/openephys.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Convert OpenEphys data to NWB using :py:class:`~nwb_conversion_tools.datainterfa
>>> from dateutil import tz
>>> from pathlib import Path
>>>
>>> from nwb_conversion_tools import OpenEphysRecordingExtractorInterface
>>> from neuroconv import OpenEphysRecordingExtractorInterface
>>>
>>> folder_path = f"{ECEPHY_DATA_PATH}/openephysbinary/v0.4.4.1_with_video_tracking"
>>> # Change the folder_path to the appropiate location in your system
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Convert spikegadgets data to NWB using :py:class:`~nwb_conversion_tools.datainte
from datetime import datetime
from dateutil import tz
from pathlib import Path
from nwb_conversion_tools import SpikeGadgetsRecordingInterface
from neuroconv import SpikeGadgetsRecordingInterface
# For this interface we need to pass the specific path to the files.
file_path = f"{ECEPHY_DATA_PATH}/spikegadgets/20210225_em8_minirec2_ac.rec"
Expand Down
2 changes: 1 addition & 1 deletion docs/conversion_examples_gallery/recording/spikeglx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Convert spikeglx data to NWB using :py:class:`~nwb_conversion_tools.datainterfac
>>> from datetime import datetime
>>> from dateutil import tz
>>> from pathlib import Path
>>> from nwb_conversion_tools import SpikeGLXRecordingInterface
>>> from neuroconv import SpikeGLXRecordingInterface
>>>
>>> # For this interface we need to pass the location of the ``.bin`` file
>>> file_path = f"{ECEPHY_DATA_PATH}/spikeglx/Noise4Sam_g0/Noise4Sam_g0_imec0/Noise4Sam_g0_t0.imec0.ap.bin"
Expand Down
2 changes: 1 addition & 1 deletion docs/conversion_examples_gallery/sorting/cellexplorer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Convert cell explorer sorting data to NWB using :py:class:`~nwb_conversion_tools
>>> from datetime import datetime
>>> from dateutil import tz
>>> from pathlib import Path
>>> from nwb_conversion_tools import CellExplorerSortingInterface
>>> from neuroconv import CellExplorerSortingInterface
>>>
>>> # For this interface we need to pass the location of the ``cellinfo.mat`` file
>>> file_path = f"{ECEPHY_DATA_PATH}/cellexplorer/dataset_1/20170311_684um_2088um_170311_134350.spikes.cellinfo.mat"
Expand Down
2 changes: 1 addition & 1 deletion docs/conversion_examples_gallery/sorting/kilosort.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Convert Kilosort data to NWB using :py:class:`~nwb_conversion_tools.datainterfac
>>> from dateutil import tz
>>> from pathlib import Path
>>>
>>> from nwb_conversion_tools import KilosortSortingInterface
>>> from neuroconv import KilosortSortingInterface
>>>
>>> folder_path = f"{ECEPHY_DATA_PATH}/phy/phy_example_0"
>>> # Change the file_path to the location of the data in your system
Expand Down
2 changes: 1 addition & 1 deletion docs/conversion_examples_gallery/sorting/neuroscope.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Convert Neuroscope sorting data to NWB using :py:class:`~nwb_conversion_tools.da
>>> from datetime import datetime
>>> from dateutil import tz
>>> from pathlib import Path
>>> from nwb_conversion_tools import NeuroscopeSortingInterface
>>> from neuroconv import NeuroscopeSortingInterface
>>>
>>> folder_path = f"{ECEPHY_DATA_PATH}/neuroscope/dataset_1"
>>> xml_file_path = folder_path + "/YutaMouse42-151117.xml"
Expand Down
2 changes: 1 addition & 1 deletion docs/conversion_examples_gallery/sorting/phy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Convert Phy data to NWB using :py:class:`~.nwb_conversion_tools.datainterfaces.e
>>> from dateutil import tz
>>> from pathlib import Path
>>>
>>> from nwb_conversion_tools import PhySortingInterface
>>> from neuroconv import PhySortingInterface
>>>
>>> folder_path = f"{ECEPHY_DATA_PATH}/phy/phy_example_0"
>>> # Change the file_path to the location of the data in your system
Expand Down

0 comments on commit fdb4887

Please sign in to comment.