Skip to content

Commit ff92257

Browse files
committed
Remove some stray prints
1 parent 72cb883 commit ff92257

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/test_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def compare_python_api(self, input_ts, cmd, Ne, mutation_rate, method):
218218
dated_ts = tsdate.date(
219219
input_ts, population_size=Ne, mutation_rate=mutation_rate, method=method
220220
)
221-
print(dated_ts.tables.nodes.time, output_ts.tables.nodes.time)
221+
# print(dated_ts.tables.nodes.time, output_ts.tables.nodes.time)
222222
assert np.array_equal(dated_ts.tables.nodes.time, output_ts.tables.nodes.time)
223223

224224
def test_ts(self):
@@ -284,7 +284,7 @@ def preprocess_compare_python_api(self, input_ts):
284284
input_ts.dump(input_filename)
285285
output_filename = pathlib.Path(tmpdir) / "output.trees"
286286
full_cmd = "preprocess " + str(input_filename) + f" {output_filename}"
287-
print(full_cmd)
287+
# print(full_cmd)
288288
cli.tsdate_main(full_cmd.split())
289289
output_ts = tskit.load(output_filename)
290290
preprocessed_ts = tsdate.preprocess_ts(input_ts)

tests/test_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,8 +1093,8 @@ def test_two_tree_mutation_ts(self):
10931093

10941094
def test_dangling_fails(self):
10951095
ts = utility_functions.single_tree_ts_n2_dangling()
1096-
print(ts.draw_text())
1097-
print("Samples:", ts.samples())
1096+
# print(ts.draw_text())
1097+
# print("Samples:", ts.samples())
10981098
Ne = 0.5
10991099
with pytest.raises(ValueError, match="simplified"):
11001100
tsdate.build_prior_grid(ts, Ne, timepoints=np.array([0, 1.2, 2]))

0 commit comments

Comments
 (0)