diff options
author | Arun Isaac | 2025-07-25 15:19:49 +0100 |
---|---|---|
committer | Arun Isaac | 2025-08-01 12:58:45 +0100 |
commit | 4b4b6a7cca5a08b93aaabe0733e7593cd1cab259 (patch) | |
tree | d1694f896d5372d96a239c3cc45382a291a33721 | |
parent | 0e9e530b15e41929964d86ca7a70e2126d5c9fa4 (diff) | |
download | pyhegp-4b4b6a7cca5a08b93aaabe0733e7593cd1cab259.tar.gz pyhegp-4b4b6a7cca5a08b93aaabe0733e7593cd1cab259.tar.lz pyhegp-4b4b6a7cca5a08b93aaabe0733e7593cd1cab259.zip |
Rename genotype_file argument in read_genotype.
* pyhegp/serialization.py (read_genotype): Rename genotype_file argument to file.
-rw-r--r-- | pyhegp/serialization.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyhegp/serialization.py b/pyhegp/serialization.py index d832b02..b0be568 100644 --- a/pyhegp/serialization.py +++ b/pyhegp/serialization.py @@ -53,8 +53,8 @@ def write_summary(file, summary): delimiter="\t", fmt="%.8g") -def read_genotype(genotype_file): - return np.loadtxt(genotype_file, delimiter=",", ndmin=2) +def read_genotype(file): + return np.loadtxt(file, delimiter=",", ndmin=2) def write_genotype(file, genotype): np.savetxt(file, genotype, delimiter=",", fmt="%.8g") |