From 8aa83c388629583e0a5a2a051efb37c812b60632 Mon Sep 17 00:00:00 2001 From: ehennestad Date: Fri, 6 Dec 2024 17:06:32 +0100 Subject: [PATCH] Fix indentation in function docstrings --- generateCore.m | 24 ++++++++++++------------ generateExtension.m | 16 ++++++++-------- nwbClearGenerated.m | 4 ++-- nwbExport.m | 2 +- nwbRead.m | 4 ++-- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/generateCore.m b/generateCore.m index c2b8fe6e..27a3a39e 100644 --- a/generateCore.m +++ b/generateCore.m @@ -2,22 +2,22 @@ function generateCore(version, options) % GENERATECORE - Generate Matlab classes from NWB core schema files % % Syntax: -% GENERATECORE() Generate classes (Matlab m-files) from the -% NWB core namespace file. By default, generates off of the most recent -% nwb-schema release. +% GENERATECORE() Generate classes (Matlab m-files) from the +% NWB core namespace file. By default, generates off of the most recent +% nwb-schema release. % -% GENERATECORE(version) Generate classes for the -% core namespace of the listed version. +% GENERATECORE(version) Generate classes for the +% core namespace of the listed version. % -% GENERATECORE(__, Name, Value) Generate classes based on optional -% name-value pairs controlling the output . +% GENERATECORE(__, Name, Value) Generate classes based on optional +% name-value pairs controlling the output . % -% A cache of schema data is generated in the ``namespaces`` subdirectory in -% the matnwb root directory. This is for allowing cross-referencing -% classes between multiple namespaces. +% A cache of schema data is generated in the ``namespaces`` subdirectory in +% the matnwb root directory. This is for allowing cross-referencing +% classes between multiple namespaces. % -% Output files are placed in a ``+types`` subdirectory in the -% matnwb root directory directory. +% Output files are placed in a ``+types`` subdirectory in the +% matnwb root directory directory. % % Usage: % Example 1 - Generate core schemas for the latest version of NWB:: diff --git a/generateExtension.m b/generateExtension.m index 7bf14c93..21f6f6fa 100644 --- a/generateExtension.m +++ b/generateExtension.m @@ -2,16 +2,16 @@ function generateExtension(namespaceFilePath, options) % GENERATEEXTENSION - Generate Matlab classes from NWB extension schema file % % Syntax: -% GENERATEEXTENSION(extension_path...) Generate classes (Matlab m-files) -% from one or more NWB schema extension namespace files. A registry of -% already generated core types is used to resolve dependent types. +% GENERATEEXTENSION(extension_path...) Generate classes (Matlab m-files) +% from one or more NWB schema extension namespace files. A registry of +% already generated core types is used to resolve dependent types. % -% A cache of schema data is generated in the ``namespaces`` subdirectory in -% the matnwb root directory. This is for allowing cross-referencing -% classes between multiple namespaces. +% A cache of schema data is generated in the ``namespaces`` subdirectory in +% the matnwb root directory. This is for allowing cross-referencing +% classes between multiple namespaces. % -% Output files are placed in a ``+types`` subdirectory in the -% matnwb root directory directory. +% Output files are placed in a ``+types`` subdirectory in the +% matnwb root directory directory. % % Input Arguments: % - namespaceFilePath (string) - diff --git a/nwbClearGenerated.m b/nwbClearGenerated.m index 3e8cbc9c..54e929be 100644 --- a/nwbClearGenerated.m +++ b/nwbClearGenerated.m @@ -2,8 +2,8 @@ % NWBCLEARGENERATED - Clear generated class files. % % Syntax: -% NWBCLEARGENERATED() Clear generated class files from the ``+types`` -% folder in the matnwb root directory. +% NWBCLEARGENERATED() Clear generated class files from the ``+types`` +% folder in the matnwb root directory. % % Input Arguments: % - targetFolder (string) - diff --git a/nwbExport.m b/nwbExport.m index a481cec7..a108e0ae 100644 --- a/nwbExport.m +++ b/nwbExport.m @@ -2,7 +2,7 @@ function nwbExport(nwbFileObjects, filePaths, mode) %NWBEXPORT - Writes an NWB file. % % Syntax: -% NWBEXPORT(nwb, filename) Writes the nwb object to a file at filename. +% NWBEXPORT(nwb, filename) Writes the nwb object to a file at filename. % % Input Arguments: % - nwb (NwbFile) - Nwb file object diff --git a/nwbRead.m b/nwbRead.m index 03b54791..16752f34 100644 --- a/nwbRead.m +++ b/nwbRead.m @@ -18,8 +18,8 @@ % % - flags (string) - % Flag for setting the mode for the NWBREAD operation. Available options are: -% 'ignorecache'. If the 'ignorecache' flag is used, classes for NWB data types -% are not re-generated based on the embedded schemas in the file. +% 'ignorecache'. If the 'ignorecache' flag is used, classes for NWB data +% types are not re-generated based on the embedded schemas in the file. % % - options (name-value pairs) - % Optional name-value pairs. Available options: