From e32b71700a8c2892da582effc6b64095d5a1bf31 Mon Sep 17 00:00:00 2001
From: George Marchment <georgemarchment@yahoo.fr>
Date: Thu, 7 Mar 2024 10:41:43 +0100
Subject: [PATCH] fi bug

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

diff --git a/bioflow_insight_cli/main.py b/bioflow_insight_cli/main.py
index 7eb54ea..ff5e493 100644
--- a/bioflow_insight_cli/main.py
+++ b/bioflow_insight_cli/main.py
@@ -5,7 +5,7 @@ from src.workflow import Workflow
 
 @click.command()
 @click.argument('main_workflow_path')
-@click.option('--author', 'author', required=False, help='Author name, extracted otherwise')
+#@click.option('--author', 'author', required=False, help='Author name, extracted otherwise')
 @click.option('--name', 'name', required=False, help='Workflow name, extracted otherwise')
 @click.option('--output-dir', default='./results', help='Where the results will be written')
 @click.option(
diff --git a/src/workflow.py b/src/workflow.py
index 290a427..61ef477 100644
--- a/src/workflow.py
+++ b/src/workflow.py
@@ -9,7 +9,7 @@ import json
 
 
 class Workflow:
-    def __init__(self, file, duplicate=False, display_info=True, 
+    def __init__(self, file, duplicate=False, display_info=True, output_dir = './results',
                  name = None, datePublished=None, description=None,
                  license = None, creativeWorkStatus = None, authors = None, 
                  version = None, keywords = None, producer = None,
-- 
GitLab