From e36816dd5d5aa6f760d3057f7cb3d8fa22f03fb3 Mon Sep 17 00:00:00 2001 From: Alon Grinberg Dana Date: Tue, 2 Jul 2024 22:37:47 +0300 Subject: [PATCH] f! fam tst --- arc/reaction/family_test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arc/reaction/family_test.py b/arc/reaction/family_test.py index 8b6c2ca3b3..cc29d200ac 100644 --- a/arc/reaction/family_test.py +++ b/arc/reaction/family_test.py @@ -498,8 +498,8 @@ def test_is_own_reverse(self): groups_as_lines = ['template(reactants=["Root"], products=["ketone"], ownReverse=False)', 'reverse = "Ketone_To_Enol"', 'reversible = True'] self.assertFalse(is_own_reverse(groups_as_lines)) - groups_as_lines = ['template(reactants=["X_H_or_Xrad_H_Xbirad_H_Xtrirad_H", "Y_rad_birad_trirad_quadrad"], ' - 'products=["X_H_or_Xrad_H_Xbirad_H_Xtrirad_H", "Y_rad_birad_trirad_quadrad"], ' + groups_as_lines = ['template(reactants=["X_H_or_Xrad_H_Xbirad_H_Xtrirad_H", "Y_rad_birad_trirad_quadrad"], ' + + 'products=["X_H_or_Xrad_H_Xbirad_H_Xtrirad_H", "Y_rad_birad_trirad_quadrad"], ' + 'ownReverse=True)', 'reversible = True'] self.assertTrue(is_own_reverse(groups_as_lines)) @@ -508,8 +508,8 @@ def test_get_product_num(self): groups_as_lines = ['template(reactants=["Root"], products=["ketone"], ownReverse=False)', 'reverse = "Ketone_To_Enol"', 'reversible = True'] self.assertEqual(get_product_num(groups_as_lines), 1) - groups_as_lines = ['template(reactants=["X_H_or_Xrad_H_Xbirad_H_Xtrirad_H", "Y_rad_birad_trirad_quadrad"], ' - 'products=["X_H_or_Xrad_H_Xbirad_H_Xtrirad_H", "Y_rad_birad_trirad_quadrad"], ' + groups_as_lines = ['template(reactants=["X_H_or_Xrad_H_Xbirad_H_Xtrirad_H", "Y_rad_birad_trirad_quadrad"], ' + + 'products=["X_H_or_Xrad_H_Xbirad_H_Xtrirad_H", "Y_rad_birad_trirad_quadrad"], ' + 'ownReverse=True)', 'reversible = True'] self.assertEqual(get_product_num(groups_as_lines), 2)