diff --git a/bioflow_insight_cli/main.py b/bioflow_insight_cli/main.py index 4cae70dad8a2f051cd562fefb4acb2a6ee6d69eb..00e35d1e2660dedbdf28f287eb9539e25deb611b 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 5f726f1fc149ea33b3a87ce3a5490c0864a02e5e..c0fa883683edf1d4fc9e6ec951c2cdba3d362f57 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()})