aboutsummaryrefslogtreecommitdiff
path: root/gn3/commands.py
diff options
context:
space:
mode:
authorzsloan2021-05-18 19:49:44 +0000
committerzsloan2021-05-18 19:49:44 +0000
commit36365588d95d96458da02090ebef21a02366784a (patch)
tree28e570219a3a6d2e9f8cf46df046ba4a71cbaa30 /gn3/commands.py
parent5745c3bdd086f7c499ee63a580df822db5af2826 (diff)
downloadgenenetwork3-36365588d95d96458da02090ebef21a02366784a.tar.gz
Removed len from this if statement, since an empty list evaluates to False by itself
Diffstat (limited to 'gn3/commands.py')
-rw-r--r--gn3/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/commands.py b/gn3/commands.py
index add715c..255ea1d 100644
--- a/gn3/commands.py
+++ b/gn3/commands.py
@@ -39,7 +39,7 @@ def compose_rqtl_cmd(rqtl_wrapper_cmd: str,
[f"--{key} {val}" for key, val in rqtl_wrapper_kwargs.items()])
# Add boolean kwargs (kwargs without values)
- if len(rqtl_wrapper_bool_kwargs):
+ if rqtl_wrapper_bool_kwargs:
cmd += " "
cmd += " ".join([f"--{val}" for val in rqtl_wrapper_bool_kwargs])