Skip to content

Commit

Permalink
fix transpose bug related to PR #12
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskermode committed Aug 20, 2021
1 parent 581116e commit 57bba85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExtXYZ.jl
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ read_frames(file::Union{String,IOStream}; kwargs...) = read_frames(file, Iterato

function write_frame_dicts(fp::Ptr{Cvoid}, nat, info, arrays; verbose=false)
nat = Cint(nat)
cinfo = convert(Ptr{DictEntry}, info)
cinfo = convert(Ptr{DictEntry}, info; transpose_arrays=true)

# ensure "species" goes in column 1 and "pos" goes in column 2
ordered_keys = collect(keys(arrays))
Expand Down

0 comments on commit 57bba85

Please sign in to comment.