From 35cf7a645e609de1d8c854ad7b01c666d4dd7b85 Mon Sep 17 00:00:00 2001 From: Scott W Harden Date: Tue, 17 Sep 2024 16:29:04 -0400 Subject: [PATCH] abf: autoformat comments --- src/pyabf/abf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pyabf/abf.py b/src/pyabf/abf.py index cb5bf69..e0da035 100644 --- a/src/pyabf/abf.py +++ b/src/pyabf/abf.py @@ -327,8 +327,8 @@ def _readHeadersV2(self, fb: BufferedReader): try: # This is the correct way, but it doesn't seem to work for every ABF. # I think this is because there is a bug in the string indexer. - #self.userList = self._stringsIndexed.indexedStrings[self._userListSection.nStringIndex[0]] - #self.userList = [float(x) for x in self.userList.split(",")] + # self.userList = self._stringsIndexed.indexedStrings[self._userListSection.nStringIndex[0]] + # self.userList = [float(x) for x in self.userList.split(",")] # This is weird but it's been in the code for a while and seems to work. firstBlockStrings = self._stringsSection._stringsRaw[0].split( @@ -384,7 +384,7 @@ def _readHeadersV2(self, fb: BufferedReader): self._dataGain = [1]*self.channelCount self._dataOffset = [0]*self.channelCount for i in range(self.channelCount): - #adcIndex = self._adcSection.nADCSamplingSeq[i] + # adcIndex = self._adcSection.nADCSamplingSeq[i] # NOTE: ADC sequence is handled inside the ADC section so it doesn't need to be handled here adcIndex = i self._dataGain[i] /= self._adcSection.fInstrumentScaleFactor[adcIndex]