Closed juhaa closed 3 years ago
...or just update Python in docker to 3.7+ where dicts are ordered
if the idea here is to have all other than required columns spit out after the required columns in otherwise original order then just don't use the h_idx in the list comprehension but just the list you get after header line split()
if the idea here is to have all other than required columns spit out after the required columns in otherwise original order then just don't use the h_idx in the list comprehension but just the list you get after header line split()
Or that yes.
Harmonization script messes up column ordering for
extra_cols
: https://github.com/FINNGEN/META_ANALYSIS/blob/a252f8497775b160cb8ebacbf2ca44a00a93a0ff/scripts/harmonize.py#L150-L153 Probably fixed by changing toOrderedDict