Back to the main page.

Bug 1883 - the field cfg.debug is not allowed in spike functions

Status CLOSED FIXED
Reported 2012-12-12 08:16:00 +0100
Modified 2012-12-31 11:46:23 +0100
Product: FieldTrip
Component: spike
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P3 normal
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2012-12-12 08:16:43 +0100

The regression tests flag this as error, see http://fieldtrip.fcdonders.nl/development/dashboard and for example http://fieldtrip.fcdonders.nl/development/dashboard/r7139/test_tutorial_spike I have added the cfg.debug a few commits ago in ft_default, but the spike functions have a strict checking of the input options. I will extend the allowed options in the spike functions.


Robert Oostenveld - 2012-12-12 08:47:24 +0100

See http://code.google.com/p/fieldtrip/source/detail?r=7134 for the culprit. I have added debug as allowed option in the ft_spike functions. mac001> svn commit Sending spike/ft_spike_isi.m Sending spike/ft_spike_jpsth.m Sending spike/ft_spike_plot_isireturn.m Sending spike/ft_spike_plot_jpsth.m Sending spike/ft_spike_plot_psth.m Sending spike/ft_spike_plot_raster.m Sending spike/ft_spike_psth.m Sending spike/ft_spike_rate.m Sending spike/ft_spike_waveform.m Sending spike/ft_spike_xcorr.m Sending spike/ft_spikedensity.m Sending spike/ft_spiketriggeredaverage.m Sending spike/ft_spiketriggeredspectrum_convol.m Sending spike/ft_spiketriggeredspectrum_stat.m Transmitting file data .............. Committed revision 7143.


Robert Oostenveld - 2012-12-12 09:53:45 +0100

I just largely reverted revision 7143, because revision 7142 from Eelke fixes it in a more general manner. See http://code.google.com/p/fieldtrip/source/detail?r=7142 and http://code.google.com/p/fieldtrip/source/detail?r=7143


Robert Oostenveld - 2012-12-12 09:54:19 +0100

(In reply to comment #2) oh, here is the commit mac001> svn commit Sending spike/ft_spike_isi.m Sending spike/ft_spike_jpsth.m Sending spike/ft_spike_plot_isireturn.m Sending spike/ft_spike_plot_jpsth.m Sending spike/ft_spike_plot_psth.m Sending spike/ft_spike_plot_raster.m Sending spike/ft_spike_psth.m Sending spike/ft_spike_rate.m Sending spike/ft_spike_waveform.m Sending spike/ft_spike_xcorr.m Sending spike/ft_spikedensity.m Sending spike/ft_spiketriggeredaverage.m Sending spike/ft_spiketriggeredspectrum_convol.m Sending spike/ft_spiketriggeredspectrum_stat.m Transmitting file data .............. Committed revision 7147.


Robert Oostenveld - 2012-12-31 11:46:23 +0100

closed several bugs that have been resolved for some time. Feel free to reopen the bug if you disagree.