diff options
author | Frederick Muriuki Muriithi | 2021-09-27 04:48:53 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2021-09-27 04:48:53 +0300 |
commit | 19783a18c2bc7941fc5980e593f19fb1d18c3623 (patch) | |
tree | f3a6e241be3c6224b9647c8258c516a7b741a28c /tests/unit/computations/test_parsers.py | |
parent | 8d9bc0f29ce9208306915b079818e6f0c31785e2 (diff) | |
download | genenetwork3-19783a18c2bc7941fc5980e593f19fb1d18c3623.tar.gz |
Update terminology: `strain` to `sample`
Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* Update the terminology used: use `sample` in place of `strain` according to
Zachary's direction at
https://github.com/genenetwork/genenetwork3/pull/37#issuecomment-926043306
Diffstat (limited to 'tests/unit/computations/test_parsers.py')
-rw-r--r-- | tests/unit/computations/test_parsers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/computations/test_parsers.py b/tests/unit/computations/test_parsers.py index 19c3067..b51b0bf 100644 --- a/tests/unit/computations/test_parsers.py +++ b/tests/unit/computations/test_parsers.py @@ -15,7 +15,7 @@ class TestParsers(unittest.TestCase): def test_parse_genofile_with_existing_file(self): """Test that a genotype file is parsed correctly""" - strains = ["bxd1", "bxd2"] + samples = ["bxd1", "bxd2"] genotypes = [ {"chr": "1", "locus": "rs31443144", "cm": "1.50", "mb": "3.010274", @@ -51,4 +51,4 @@ class TestParsers(unittest.TestCase): "../test_data/genotype.txt" )) self.assertEqual(parse_genofile( - test_genotype_file), (strains, genotypes)) + test_genotype_file), (samples, genotypes)) |