Skip to content

Commit

Permalink
consistent 32 vs 64 bits arch display
Browse files Browse the repository at this point in the history
  • Loading branch information
horta committed Jun 20, 2021
1 parent 1bb5a4c commit e17b8e4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.

## Released

## 2.2.6 - 2021-06-21

### Fixed
- Proper typing for xarrays.

### Changed
- Significant reading speed-up through memmap.

## 2.2.4 - 2021-06-18

### Changed
Expand Down
2 changes: 1 addition & 1 deletion pandas_plink/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ._testit import test
from ._write import write_plink1_bin

__version__ = "2.2.5"
__version__ = "2.2.6"


__all__ = [
Expand Down
8 changes: 3 additions & 5 deletions pandas_plink/_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ def write_plink1_bin(
...
... variant = ["not", "sure", "what"],
... snp = ("variant", ["rs1", "rs2", "rs3"]),
... chrom = ("variant", [1, 1, 2]),
... pos = ("variant", [5, 8, 3]),
... chrom = ("variant", ["1", "1", "2"]),
... a0 = ("variant", ['A', 'T', 'G']),
... a1 = ("variant", ['C', 'A', 'T']),
... )
Expand All @@ -76,8 +75,7 @@ def write_plink1_bin(
fid (sample) <U5 'humin' 'humin'
* variant (variant) <U4 'not' 'sure' 'what'
snp (variant) <U3 'rs1' 'rs2' 'rs3'
chrom (variant) int64 1 1 2
pos (variant) int64 5 8 3
chrom (variant) <U1 '1' '1' '2'
a0 (variant) <U1 'A' 'T' 'G'
a1 (variant) <U1 'C' 'A' 'T'
>>> write_plink1_bin(G, "sample.bed", verbose=False)
Expand All @@ -97,7 +95,7 @@ def write_plink1_bin(
chrom (variant) object '1' '1' '2'
snp (variant) object 'rs1' 'rs2' 'rs3'
cm (variant) float64 0.0 0.0 0.0
pos (variant) int32 5 8 3
pos (variant) int32 0 0 0
a0 (variant) object 'A' 'T' 'G'
a1 (variant) object 'C' 'A' 'T'
Expand Down

0 comments on commit e17b8e4

Please sign in to comment.