@@ -45,7 +45,7 @@ def test_x2sys_cross_input_file_output_file(mock_x2sys_home):
4545 x2sys_init (tag = tag , fmtfile = "xyz" , force = True )
4646 outfile = os .path .join (tmpdir , "tmp_coe.txt" )
4747 output = x2sys_cross (
48- tracks = ["@tut_ship.xyz" ], tag = tag , coe = "i" , outfile = outfile
48+ tracks = ["@tut_ship.xyz" ], tag = tag , coe = "i" , outfile = outfile , verbose = "i"
4949 )
5050
5151 assert output is None # check that output is None since outfile is set
@@ -63,7 +63,7 @@ def test_x2sys_cross_input_file_output_dataframe(mock_x2sys_home):
6363 with TemporaryDirectory (prefix = "X2SYS" , dir = os .getcwd ()) as tmpdir :
6464 tag = os .path .basename (tmpdir )
6565 x2sys_init (tag = tag , fmtfile = "xyz" , force = True )
66- output = x2sys_cross (tracks = ["@tut_ship.xyz" ], tag = tag , coe = "i" )
66+ output = x2sys_cross (tracks = ["@tut_ship.xyz" ], tag = tag , coe = "i" , verbose = "i" )
6767
6868 assert isinstance (output , pd .DataFrame )
6969 assert output .shape == (14294 , 12 )
@@ -111,7 +111,9 @@ def test_x2sys_cross_input_two_filenames(mock_x2sys_home):
111111 with open (os .path .join (os .getcwd (), f"track_{ i } .xyz" ), mode = "w" ) as fname :
112112 np .savetxt (fname = fname , X = np .random .rand (10 , 3 ))
113113
114- output = x2sys_cross (tracks = ["track_0.xyz" , "track_1.xyz" ], tag = tag , coe = "e" )
114+ output = x2sys_cross (
115+ tracks = ["track_0.xyz" , "track_1.xyz" ], tag = tag , coe = "e" , verbose = "i"
116+ )
115117
116118 assert isinstance (output , pd .DataFrame )
117119 assert output .shape == (24 , 12 )
0 commit comments