fixed test suite

This commit is contained in:
2023-01-17 13:05:54 +01:00
parent 3b8cf1657f
commit 1680f5a14b
4 changed files with 17 additions and 6 deletions

View File

@@ -6,7 +6,10 @@ from cristallina.utils import ROI, print_run_info, heuristic_extract_pgroup, gau
__author__ = "Alexander Steppke"
def test_print(capsys):
# this currently works only if the heuristic p-group extraction works
# TODO: fix this shortcoming and use base_path throughout
os.chdir("/sf/cristallina/data/p19739/")
print_run_info(247)
captured = capsys.readouterr()
assert "15453208940" in captured.out