From 759e20d2423d1193b8b448e9410af21384b1db92 Mon Sep 17 00:00:00 2001
From: George Marchment <georgemarchment@yahoo.fr>
Date: Mon, 11 Mar 2024 13:57:57 +0100
Subject: [PATCH] update paramater + fix bug

---
 bioflow_insight_cli/main.py | 4 ++--
 src/workflow.py             | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bioflow_insight_cli/main.py b/bioflow_insight_cli/main.py
index 4cae70d..00e35d1 100644
--- a/bioflow_insight_cli/main.py
+++ b/bioflow_insight_cli/main.py
@@ -29,12 +29,12 @@ from src.workflow import Workflow
 )
 
 @click.option(
-    '--render-graphs',
+    '--no-render-graphs',
     'render_graphs',
     required=False,
     default=True,
     is_flag=True,
-    help='Generate the graphs output in png format using graphviz (slower),'
+    help='Don\'t generate the graphs output in png format using graphviz (faster),'
     'the mermaid and dot formats are always generated.',
 )
 
diff --git a/src/workflow.py b/src/workflow.py
index 5f726f1..c0fa883 100644
--- a/src/workflow.py
+++ b/src/workflow.py
@@ -159,7 +159,7 @@ class Workflow:
                 tab.append({"@id":authors[author], "email":author})
             return tab
         else:
-            authors = authors.split(',')
+            authors = self.authors.split(',')
             tab = []
             for a in authors:
                 tab.append({"@id":a.strip()})
-- 
GitLab