This PR fixes two issues we noticed when running poetry run pytest.
Both issues were in gwas_sumstats_tools/format.py
Remove extra quotation causing an error.
Fix one arm of a conditional statement that would throw a KeyError when config_dict was empty. In particular, when you try to access a value in a Python dictionary using [<key>] and the key is missing, it will cause a KeyError. So we fix this by using the get(<key>) function instead.
This PR fixes two issues we noticed when running
poetry run pytest
. Both issues were ingwas_sumstats_tools/format.py
[<key>]
and the key is missing, it will cause a KeyError. So we fix this by using theget(<key>)
function instead.