File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1109,7 +1109,7 @@ void NeuropixelsV1Interface::saveParameters (XmlElement* xml)
11091109 probeViewerNode->setAttribute (" referenceChannel" , referenceComboBox->getText ());
11101110 probeViewerNode->setAttribute (" apFilter" , filterComboBox->getText ());
11111111
1112- XmlElement* channelsNode = xmlNode->createNewChildElement (" SELECTED_CHANNELS " );
1112+ XmlElement* channelsNode = xmlNode->createNewChildElement (" SELECTED_ELECTRODES " );
11131113
11141114 for (int i = 0 ; i < settings->selectedElectrode .size (); i++)
11151115 {
@@ -1215,11 +1215,11 @@ void NeuropixelsV1Interface::loadParameters (XmlElement* xml)
12151215 else
12161216 settings->apFilterState = idx == 1 ? true : false ;
12171217
1218- XmlElement* channelsNode = xmlNode->getChildByName (" SELECTED_CHANNELS " );
1218+ XmlElement* channelsNode = xmlNode->getChildByName (" SELECTED_ELECTRODES " );
12191219
12201220 if (channelsNode == nullptr )
12211221 {
1222- LOGE (" No SELECTED_CHANNELS element found." );
1222+ LOGE (" No SELECTED_ELECTRODES element found." );
12231223 return ;
12241224 }
12251225
Original file line number Diff line number Diff line change @@ -769,7 +769,7 @@ void NeuropixelsV2eProbeInterface::saveParameters (XmlElement* xml)
769769
770770 probeViewerNode->setAttribute (" referenceChannel" , referenceComboBox->getText ());
771771
772- XmlElement* channelsNode = xmlNode->createNewChildElement (" SELECTED_CHANNELS " );
772+ XmlElement* channelsNode = xmlNode->createNewChildElement (" SELECTED_ELECTRODES " );
773773
774774 for (int i = 0 ; i < settings->selectedElectrode .size (); i++)
775775 {
@@ -837,11 +837,11 @@ void NeuropixelsV2eProbeInterface::loadParameters (XmlElement* xml)
837837 else
838838 settings->referenceIndex = idx;
839839
840- XmlElement* channelsNode = xmlNode->getChildByName (" SELECTED_CHANNELS " );
840+ XmlElement* channelsNode = xmlNode->getChildByName (" SELECTED_ELECTRODES " );
841841
842842 if (channelsNode == nullptr )
843843 {
844- LOGE (" No SELECTED_CHANNELS element found." );
844+ LOGE (" No SELECTED_ELECTRODES element found." );
845845 return ;
846846 }
847847
You can’t perform that action at this time.
0 commit comments