You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, pspm_write_channel, overwrites the last channel of same type if channel_action is 'replace'. However, when channels are defined by numerical index in the calling function, it would be more appropriate to overwrite the input channel.
Steps to solve this
Identify all functions that use pspm_write_channel, allow channel_actionto be replace, and do not create channels of new type.
Check whether these functions pass correct channel numbers to pspm_write_channels. Channel numbers should correspond to those that were retrieved from the file with a pspm_load_channel function call, or otherwise within the calling function.
Compile a list of functions that fulfill 1 and not 2.
Implement correct assignment of channel numbers in these functions.
The text was updated successfully, but these errors were encountered:
Feature Description
Currently, pspm_write_channel, overwrites the last channel of same type if channel_action is 'replace'. However, when channels are defined by numerical index in the calling function, it would be more appropriate to overwrite the input channel.
Steps to solve this
pspm_write_channel
, allowchannel_action
to bereplace
, and do not create channels of new type.pspm_write_channels
. Channel numbers should correspond to those that were retrieved from the file with apspm_load_channel
function call, or otherwise within the calling function.The text was updated successfully, but these errors were encountered: