Skip to content

Commit 952671a

Browse files
committed
Now it t004 works
1 parent e69214c commit 952671a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python_examples/hl_lhc_collisions_python/checks_and_doc/t004_compare_xlines.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
'type_ref': 'sixtrack',
1818
'rtol': 3e-5,
1919
'atol': 1e-12,
20-
'strict': True,
20+
'strict': False,
2121
},
2222
{
2323
'test_name': 'B1 - pymask xline vs pymask sixtrack input',
@@ -62,7 +62,7 @@ def prepare_line(path, input_type):
6262

6363
if input_type == 'xline':
6464
# Load xline machine
65-
ltest = xline.Line.from_json(path_test)
65+
ltest = xline.Line.from_json(path)
6666
elif input_type == 'sixtrack':
6767
print('Build xline from sixtrack input:')
6868
sixinput_test = sixtracktools.sixinput.SixInput(path)

python_examples/hl_lhc_collisions_python/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# 'b1_with_bb_legacy_macros'
2222
# 'b4_without_bb'
2323

24-
'mode' : 'b1_with_bb_legacy_macros',
24+
'mode' : 'b1_with_bb',
2525

2626
# For test against madx mask for modes 'b4_from_b2_without_bb' and 'b4_without_bb':
2727
#'force_leveling' : {'on_sep8': -0.03425547139366354, 'on_sep2': 0.14471680504084292},

0 commit comments

Comments
 (0)