added heuristic pgroup extraction

This commit is contained in:
2022-07-13 15:03:37 +02:00
parent b5a54de804
commit fe99db73f1
2 changed files with 39 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
import pytest
import os
from cristallina.utils import ROI, print_run_info
from cristallina.utils import ROI, print_run_info, heuristic_extract_pgroup
__author__ = "Alexander Steppke"
@@ -19,3 +20,8 @@ def test_ROI():
assert r.width == 1
assert r.height == 2
def test_extract_pgroup():
os.chdir("/sf/cristallina/data/p19739")
assert heuristic_extract_pgroup() == '19739'