Strip headers from exported EVA-files also
This commit is contained in:
parent
42cddb8fa4
commit
7285f47db3
1 changed files with 5 additions and 2 deletions
|
|
@ -228,7 +228,7 @@ def process_2d_scans(data: dict, options={}):
|
||||||
img = []
|
img = []
|
||||||
dark = []
|
dark = []
|
||||||
|
|
||||||
for i in range(options['scans']):
|
for j in range(options['scans']):
|
||||||
img.append(all_imgs.pop(0))
|
img.append(all_imgs.pop(0))
|
||||||
|
|
||||||
if options['darks']:
|
if options['darks']:
|
||||||
|
|
@ -679,6 +679,9 @@ def strip_headers_from_xy(path: str, filename=None) -> None:
|
||||||
for line in lines:
|
for line in lines:
|
||||||
if line[0] == '#':
|
if line[0] == '#':
|
||||||
headerlines += 1
|
headerlines += 1
|
||||||
|
elif line[0] == "\'":
|
||||||
|
headerlines += 1
|
||||||
|
|
||||||
else:
|
else:
|
||||||
xy.append(line)
|
xy.append(line)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue