Skip to content

Commit

Permalink
Merge pull request #246 from DimitriPapadopoulos/refurb
Browse files Browse the repository at this point in the history
Apply a refurb suggestion that does improve the code
  • Loading branch information
skjerns authored Nov 8, 2023
2 parents ae77312 + 3ae4a30 commit 95ae95b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyedflib/edfreader.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ def getSignalHeaders(self):
----------
None
"""
signalHeader = []
for chn in np.arange(self.signals_in_file):
signalHeader.append(self.getSignalHeader(chn))
return signalHeader
return [
self.getSignalHeader(chn)
for chn in np.arange(self.signals_in_file)
]

def getTechnician(self):
"""
Expand Down

0 comments on commit 95ae95b

Please sign in to comment.