From 7fda7fc33d89522ffa31312013df50fb5797ee50 Mon Sep 17 00:00:00 2001
From: Fontrodona Nicolas <nicolas.fontrodona@ens-lyon.fr>
Date: Mon, 4 Jan 2021 15:44:00 +0100
Subject: [PATCH] src/find_interaction_cluster/community_figures/__main__.py:
 fix constraint of iteration parameter

---
 src/find_interaction_cluster/community_figures/__main__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/find_interaction_cluster/community_figures/__main__.py b/src/find_interaction_cluster/community_figures/__main__.py
index c6ace3aa..7cef8dd4 100644
--- a/src/find_interaction_cluster/community_figures/__main__.py
+++ b/src/find_interaction_cluster/community_figures/__main__.py
@@ -50,7 +50,7 @@ def load_and_check_table(table: str, feature: str, target_col: str):
 
 
 @lp.parse(table="file", output="folder", test_type=["lm", "permutation"],
-          iteration="0 < iteration < 20")
+          iteration="20 < iteration")
 def create_community_figures(table: str, feature: str, target_col: str,
                              output: str, outfile: str, test_type: str,
                              target_kind: str = "",
@@ -64,7 +64,7 @@ def create_community_figures(table: str, feature: str, target_col: str,
      interest ( this column must have the name *target_col*) and two columns \
      with the community and the size of the community of the feature if it \
      has one (None, else).
-    :param feature: The kind of feature analysed (exons or genes)
+    :param feature: The kind of feature analysed (exon or gene)
     :param target_col: The name of the column containing the data of interest
     :param output: The output folder
     :param outfile: The name of the output figure file (pdf format)
-- 
GitLab