-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error when I try to load calls #57
Comments
Hey David, I can't seem to re-create this error. Can you scroll through the detection files included with DeepSqueak, or through any other file? Also, could you send me offending .mat detection file so I can take a look? Thanks, |
Hi Kevin,
Problem solved. After you confirmed that the current distribution was not
erring on your machine, it suggested that the issue was specific to my
machine. I have many personalized libraries that load automatically when I
launch matlab and it turns out one of them must have a function with the
same name as one in DeepSqueak and it was overriding the deepsqueek
function call. I set my path back to default and now DeepSqueak works.
I'm embarrased for bothering you with such simple issue, but at least its
resolved.
Do i need post something on github to indicate the solution has been found?
Thanks,
David
…On Mon, Sep 9, 2019 at 11:40 AM DrCoffey ***@***.***> wrote:
Hey David, I can't seem to re-create this error. Can you scroll through
the detection files included with DeepSqueak, or through any other file?
Also, could you send me offending .mat detection file so I can take a look?
Thanks,
Kevin
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#57?email_source=notifications&email_token=ANDU2V3MAHH5WX2AAWWWA2DQI2DB7A5CNFSM4IUNRUO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6IOFGA#issuecomment-529588888>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANDU2V5YBRL5E6F74CIVZGDQI2DB7ANCNFSM4IUNRUOQ>
.
--
David Euston, Associate Professor
Dept. of Neuroscience
University of Lethbridge
4401 University Drive
Lethbridge, Alberta, Canada T1K 3M4
Work: (403) 394-3970
Fax: (403) 329-2775
http://lethbridgebraindynamics.com
|
Solved. Issue was that I had other functions that I had written which had the same name as some of those in the DeepSqueak package. DeepSqueak was using my versions of these functions and of course they behaved differently and lead to crash. I reverted matlab path to default and re-ran DeepSqueak and now it runs fine. |
No worries! I'm glad it worked!
…On Mon, Sep 9, 2019, 12:57 PM eustond ***@***.***> wrote:
Hi Kevin,
Problem solved. After you confirmed that the current distribution was not
erring on your machine, it suggested that the issue was specific to my
machine. I have many personalized libraries that load automatically when I
launch matlab and it turns out one of them must have a function with the
same name as one in DeepSqueak and it was overriding the deepsqueek
function call. I set my path back to default and now DeepSqueak works.
I'm embarrased for bothering you with such simple issue, but at least its
resolved.
Do i need post something on github to indicate the solution has been found?
Thanks,
David
On Mon, Sep 9, 2019 at 11:40 AM DrCoffey ***@***.***> wrote:
> Hey David, I can't seem to re-create this error. Can you scroll through
> the detection files included with DeepSqueak, or through any other file?
> Also, could you send me offending .mat detection file so I can take a
look?
>
> Thanks,
> Kevin
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <
#57?email_source=notifications&email_token=ANDU2V3MAHH5WX2AAWWWA2DQI2DB7A5CNFSM4IUNRUO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6IOFGA#issuecomment-529588888
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/ANDU2V5YBRL5E6F74CIVZGDQI2DB7ANCNFSM4IUNRUOQ
>
> .
>
--
David Euston, Associate Professor
Dept. of Neuroscience
University of Lethbridge
4401 University Drive
Lethbridge, Alberta, Canada T1K 3M4
Work: (403) 394-3970
Fax: (403) 329-2775
http://lethbridgebraindynamics.com
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#57?email_source=notifications&email_token=AJOFGE7PIXE2OKORD3V3R3LQI2TB7A5CNFSM4IUNRUO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6I2XXQ#issuecomment-529640414>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJOFGE5QRJAHIQX3Q4BUSATQI2TB7ANCNFSM4IUNRUOQ>
.
|
Hi Kevin,
I just reconfigured my matlab to allow me to start matlab either with my
usual libraries and paths or in DeepSqueak. I do this by loading my paths
in my startup.m file and I created shortcuts which start in either my
default matlab folder or the DeepSqueak folder. Nothing is permanently
saved to my matlab path. Loading paths in the startup file is how I have
always worked things because this isn't the first time I've encountered
conflicting function names in different matlab packages.
To make this method work, I had to comment out the "savepath" command on
line 76 of DeepSqueak.m. Otherwise, no matter what startup I used,
DeepSqueak was always on my path and my personal paths also got written to
the permanent path, so I couldn't switch to DeepSqueak cleanly either. I
suggest you comment this out in your distribution as well. There really is
no reason for it, as your program will add the path at the beginning
anyway. Not a biggie as I can keep changing this with each update, but
something to consider.
Cheers,
David
…On Mon, Sep 9, 2019 at 2:48 PM DrCoffey ***@***.***> wrote:
No worries! I'm glad it worked!
On Mon, Sep 9, 2019, 12:57 PM eustond ***@***.***> wrote:
> Hi Kevin,
>
> Problem solved. After you confirmed that the current distribution was not
> erring on your machine, it suggested that the issue was specific to my
> machine. I have many personalized libraries that load automatically when
I
> launch matlab and it turns out one of them must have a function with the
> same name as one in DeepSqueak and it was overriding the deepsqueek
> function call. I set my path back to default and now DeepSqueak works.
> I'm embarrased for bothering you with such simple issue, but at least its
> resolved.
>
> Do i need post something on github to indicate the solution has been
found?
>
> Thanks,
> David
>
> On Mon, Sep 9, 2019 at 11:40 AM DrCoffey ***@***.***>
wrote:
>
> > Hey David, I can't seem to re-create this error. Can you scroll through
> > the detection files included with DeepSqueak, or through any other
file?
> > Also, could you send me offending .mat detection file so I can take a
> look?
> >
> > Thanks,
> > Kevin
> >
> > —
> > You are receiving this because you authored the thread.
> > Reply to this email directly, view it on GitHub
> > <
>
#57?email_source=notifications&email_token=ANDU2V3MAHH5WX2AAWWWA2DQI2DB7A5CNFSM4IUNRUO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6IOFGA#issuecomment-529588888
> >,
> > or mute the thread
> > <
>
https://github.com/notifications/unsubscribe-auth/ANDU2V5YBRL5E6F74CIVZGDQI2DB7ANCNFSM4IUNRUOQ
> >
> > .
> >
>
>
> --
> David Euston, Associate Professor
> Dept. of Neuroscience
> University of Lethbridge
> 4401 University Drive
> Lethbridge, Alberta, Canada T1K 3M4
> Work: (403) 394-3970
> Fax: (403) 329-2775
> http://lethbridgebraindynamics.com
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <
#57?email_source=notifications&email_token=AJOFGE7PIXE2OKORD3V3R3LQI2TB7A5CNFSM4IUNRUO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6I2XXQ#issuecomment-529640414
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/AJOFGE5QRJAHIQX3Q4BUSATQI2TB7ANCNFSM4IUNRUOQ
>
> .
>
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#57?email_source=notifications&email_token=ANDU2VYNRV6CYB7XKXBKXTTQI2ZARA5CNFSM4IUNRUO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6I7UKI#issuecomment-529660457>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANDU2VYU4RGEOOTCPYWPNN3QI2ZARANCNFSM4IUNRUOQ>
.
--
David Euston, Associate Professor
Dept. of Neuroscience
University of Lethbridge
4401 University Drive
Lethbridge, Alberta, Canada T1K 3M4
Work: (403) 394-3970
Fax: (403) 329-2775
http://lethbridgebraindynamics.com
|
That's a good suggestion! The only reason I can think of to keep the "savepath" is that you could type "DeepSqueak" into the command line without navigating to the folder first. Russell and I will think it over. |
Ah, hadn't of that issue. If the user is smart enough to navigate to the
DeepSqueak folder once, then you save them from future mistakes.
addpath(pwd) would accomplish the same thing with a lighter impact (adding
only the root directory with subdirectories added dynamically).
-D
…On Mon, Sep 9, 2019 at 3:21 PM DrCoffey ***@***.***> wrote:
That's a good suggestion! The only reason I can think of to keep the
"savepath" is that you could type "DeepSqueak" into the command line
without navigating to the folder first. Russell and I will think it over.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#57?email_source=notifications&email_token=ANDU2V72QA32IID6BP3UP53QI2463A5CNFSM4IUNRUO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6JCP3I#issuecomment-529672173>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANDU2V7NWRZZKUTEOHU3O2TQI2463ANCNFSM4IUNRUOQ>
.
--
David Euston, Associate Professor
Dept. of Neuroscience
University of Lethbridge
4401 University Drive
Lethbridge, Alberta, Canada T1K 3M4
Work: (403) 394-3970
Fax: (403) 329-2775
http://lethbridgebraindynamics.com
|
name: Bug report
about: Create a report to help us improve
Describe the bug
DeepSqueak 2.6.1. throws an error when I try to load Calls or scroll through identified calls
To Reproduce
Launched DeepSqueak from matlab command line
Select Mouse Call_Network_V2.mat for Neural Network
Select default audio file: Example Mouse Recording.flac
Press "Detect Calls" button (this complete's successfully)
click "Load Calls" using default option (most recently created file)
DeepSqueak window shows one call, as expected, but shows the following error message (program will not scroll through any other calls at this point):
"DeepSqueak version 2.6.1
601 Calls found in: Example Mouse Recording
The logical indices contain a true value outside of the array bounds.
Error in CalculateStats (line 37)
stats.ridgeFreq = ridgeFreq(greaterthannoise);
Error in update_fig (line 23)
stats =
CalculateStats(I,windowsize,noverlap,nfft,rate,box,handles.data.settings.EntropyThreshold,handles.data.settings.AmplitudeThreshold);
Error in loadcalls_Callback (line 89)
update_fig(hObject, eventdata, handles);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in DeepSqueak (line 30)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)DeepSqueak('loadcalls_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback."
Expected behavior
I just expected to be able to flip through all the calls, as program is intended to function
Additional context
Windows 10, MATLAB Version: 9.6.0.1174912 (R2019a) Update 5
DeepSqueak version downloaded from GitHub on Sept 5, 2019
The text was updated successfully, but these errors were encountered: