Skip to content

Commit

Permalink
bug fix (duplicate not)
Browse files Browse the repository at this point in the history
  • Loading branch information
omerwe committed Jul 29, 2023
1 parent 3e3bca7 commit 9363a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polyloc.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def check_args(args):

#verify LD-score related parameters
if args.compute_ldscores:
if not not args.ld_ukb and args.bfile_chr is None:
if not args.ld_ukb and args.bfile_chr is None:
raise ValueError('You must specify either --ld-ukb or --bfile-chr when using --compute-ldscores')
if not args.ld_ukb and (args.ld_wind_cm is None and args.ld_wind_kb is None and args.ld_wind_snps is None):
args.ld_wind_cm = 1.0
Expand Down

0 comments on commit 9363a72

Please sign in to comment.