33import pytest
44from pytest_cases import parametrize_with_cases
55
6- from malariagen_data import af1 as _af1
76from malariagen_data import ag3 as _ag3
7+ from malariagen_data import as1 as _as1
88
99from malariagen_data .anoph .ld import AnophelesLdAnalysis
1010
@@ -37,20 +37,20 @@ def ag3_sim_api(ag3_sim_fixture):
3737
3838
3939@pytest .fixture
40- def af1_sim_api ( af1_sim_fixture ):
40+ def as1_sim_api ( as1_sim_fixture ):
4141 return AnophelesLdAnalysis (
42- url = af1_sim_fixture .url ,
43- public_url = af1_sim_fixture .url ,
44- config_path = _af1 .CONFIG_PATH ,
45- major_version_number = _af1 .MAJOR_VERSION_NUMBER ,
46- major_version_path = _af1 .MAJOR_VERSION_PATH ,
42+ url = as1_sim_fixture .url ,
43+ public_url = as1_sim_fixture .url ,
44+ config_path = _as1 .CONFIG_PATH ,
45+ major_version_number = _as1 .MAJOR_VERSION_NUMBER ,
46+ major_version_path = _as1 .MAJOR_VERSION_PATH ,
4747 pre = False ,
4848 gff_gene_type = "protein_coding_gene" ,
4949 gff_gene_name_attribute = "Note" ,
5050 gff_default_attributes = ("ID" , "Parent" , "Note" , "description" ),
51- default_site_mask = "funestus " ,
52- results_cache = af1_sim_fixture .results_cache_path .as_posix (),
53- taxon_colors = _af1 .TAXON_COLORS ,
51+ default_site_mask = "stephensi " ,
52+ results_cache = as1_sim_fixture .results_cache_path .as_posix (),
53+ taxon_colors = _as1 .TAXON_COLORS ,
5454 )
5555
5656
@@ -62,6 +62,10 @@ def case_af1_sim(af1_sim_fixture, af1_sim_api):
6262 return af1_sim_fixture , af1_sim_api
6363
6464
65+ def case_as1_sim (as1_sim_fixture , as1_sim_api ):
66+ return as1_sim_fixture , as1_sim_api
67+
68+
6569@parametrize_with_cases ("fixture,api" , cases = "." )
6670def test_ld_pruning_returns_fewer_snps (fixture , api : AnophelesLdAnalysis ):
6771 region = random .choice (api .contigs )
0 commit comments