We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4356521 + 1d52e2f commit abb695aCopy full SHA for abb695a
src/genie_python/genie_script_checker.py
@@ -299,6 +299,7 @@ def check_script(
299
init_hook = (
300
"import sys;"
301
'sys.path.append("{}");'
302
+ 'sys.path.append("U:\\scripts");'
303
'sys.path.append("C:\\Instrument\\scripts");'.format(inst_file_path)
304
)
305
init_hook = init_hook.replace("\\", "\\\\")
@@ -357,8 +358,7 @@ def check_script(
357
358
error_line = re.search(r"W:\s+(\d+):", warning)
359
if error_line:
360
selected_number = error_line.group(1)
-
361
- error_line_numbers.append(int(selected_number))
+ error_line_numbers.append(int(selected_number))
362
363
lines_containing_errors = []
364
with open(script_name) as f:
0 commit comments