Skip to content

Commit 8ae9d3f

Browse files
authored
Merge pull request Quasars#28 from ngergihun/master
Fix for weird neaspec data with random whitespaces
2 parents b5a751e + c067e4e commit 8ae9d3f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pySNOM/readers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,9 @@ def read_header(self):
311311
break
312312
params = self.lineparser(line, params)
313313
channels = line.split("\t")
314+
channels = [
315+
channel.strip() for channel in channels
316+
]
314317

315318
return channels, params
316319

0 commit comments

Comments
 (0)