Skip to content

Commit 69972fa

Browse files
committed
Fix for input type
1 parent 888cd70 commit 69972fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tensorqtl/tensorqtl.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def main():
4040
parser.add_argument('--chunk_size', default=None, help="For cis-QTL mapping, load genotypes into CPU memory in chunks of chunk_size variants, or by chromosome if chunk_size is 'chr'.")
4141
parser.add_argument('--disable_beta_approx', action='store_true', help='Disable Beta-distribution approximation of empirical p-values (not recommended).')
4242
parser.add_argument('--warn_monomorphic', action='store_true', help='Warn if monomorphic variants are found.')
43-
parser.add_argument('--max_effects', default=10, help='Maximum number of non-zero effects in the SuSiE regression model.')
43+
parser.add_argument('--max_effects', type=int, default=10, help='Maximum number of non-zero effects in the SuSiE regression model.')
4444
parser.add_argument('--fdr', default=0.05, type=np.float64, help='FDR for cis-QTLs')
4545
parser.add_argument('--qvalue_lambda', default=None, type=np.float64, help='lambda parameter for pi0est in qvalue.')
4646
parser.add_argument('--seed', default=None, type=int, help='Seed for permutations.')

0 commit comments

Comments
 (0)