Closed y-popov closed 3 years ago
Ah, good catch. Thanks for digging into the code. Just pushed a fix that makes the else statement read
else if (CmdLineOpts::vcfSexesFile)
. Feel free to follow up if the change doesn't solve this.
@williamslab, many thanks for so quick fix! It seems to work now.
When I try to run
ped-sim
on VCF without chrX data and map-file without chrX and don't specify--sexes
, I get the following error:It seems like there is inconsistency in input arguments handling
In my case:
haveXmap
is FalseCmdLineOpts::vcfSexesFile
is False So(!CmdLineOpts::vcfSexesFile && haveXmap)
is False and else case is executing what is wrong, because i don't specify sexes-file.