Skip to content

Commit

Permalink
Merge pull request #176 from MATLAB-Community-Toolboxes-at-INCF/BOT_t…
Browse files Browse the repository at this point in the history
…oolboxname_fix

Bot toolboxname fix
  • Loading branch information
stevevanhooser authored Apr 27, 2024
2 parents 08785fb + ec57e7f commit b25af3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions +bot/+internal/+util/getToolboxVersion.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
'MATLAB''s search path.'], strjoin(strcat({' '}, pathList), newline))
end

[~, toolboxFolderName] = fileparts( bot.internal.util.toolboxdir );

[~, toolboxFolderName, ext] = fileparts( bot.internal.util.toolboxdir );
toolboxFolderName = [toolboxFolderName ext]; % this is a directory so any .xx should be included

S = ver(toolboxFolderName);

if numel(S) > 1
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The easiest way to install the Brain Observatory Toolbox is to use the [**Add-on
3. Press the "Add" button. ![image](https://user-images.githubusercontent.com/23032671/188341517-6c2d372a-9eac-4aed-974a-a102880212da.png)

#### Required products
* MATLAB (R2021a or later)
* MATLAB (R2023b or later)
* Image Processing Toolbox (if running the Visual Coding 2P demonstration `OphysDemo.mlx`)

----
Expand Down

0 comments on commit b25af3d

Please sign in to comment.