diff options
author | Arun Isaac | 2025-09-02 18:01:07 +0100 |
---|---|---|
committer | Arun Isaac | 2025-09-02 22:32:03 +0100 |
commit | a64055f237800b4e1427f566ebdb6c3875f1b3ac (patch) | |
tree | 9ad881c62afb7f9fef5125d7f4e2ecffc50991b7 /tests/test_pyhegp.py | |
parent | d91f5403c040d23f278844dd2f2191fe07504411 (diff) | |
download | pyhegp-a64055f237800b4e1427f566ebdb6c3875f1b3ac.tar.gz pyhegp-a64055f237800b4e1427f566ebdb6c3875f1b3ac.tar.lz pyhegp-a64055f237800b4e1427f566ebdb6c3875f1b3ac.zip |
Merge, not concat, genotype frames.
pd.concat duplicates the metadata columns, and is generally the wrong approach to the problem.
Diffstat (limited to 'tests/test_pyhegp.py')
-rw-r--r-- | tests/test_pyhegp.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_pyhegp.py b/tests/test_pyhegp.py index 7989063..88f13ef 100644 --- a/tests/test_pyhegp.py +++ b/tests/test_pyhegp.py @@ -26,7 +26,6 @@ from hypothesis import given, settings, strategies as st from hypothesis.extra.numpy import arrays, array_shapes import numpy as np import pandas as pd -import pytest from pytest import approx from pyhegp.pyhegp import Stats, main, hegp_encrypt, hegp_decrypt, random_key, pool_stats, standardize, unstandardize, cat_genotype @@ -166,7 +165,6 @@ def catenable_genotype_frames(draw): for start, end in pairwise([0] + split_points + [len(sample_names)])] -@pytest.mark.xfail @given(catenable_genotype_frames()) def test_cat_genotype(genotypes): def metadata_columns(genotype): |