Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 237b168c authored by usov_i's avatar usov_i
Browse files

Rename 0 index ccl scan to 1

Fix #52
parent 60f565e2
No related branches found
No related tags found
No related merge requests found
......@@ -162,6 +162,10 @@ def parse_1D(fileobj, data_type):
for param, (param_name, param_type) in zip(line.split(), ccl_first_line):
scan[param_name] = param_type(param)
# rename 0 index scan to 1
if scan["idx"] == 0:
scan["idx"] = 1
# second line
next_line = next(fileobj)
for param, (param_name, param_type) in zip(next_line.split(), ccl_second_line):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment