From fdef625c79b4c7eac91ca3ae6f04f6aedfcd591c Mon Sep 17 00:00:00 2001 From: hjulienn <hanna.julienne@pasteur.fr> Date: Tue, 23 Jan 2024 16:00:58 +0100 Subject: [PATCH] fixed issue in __main__.py --- jass/__main__.py | 6 +++++- jass/models/inittable.py | 2 -- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/jass/__main__.py b/jass/__main__.py index 8779f1fe..586b489b 100644 --- a/jass/__main__.py +++ b/jass/__main__.py @@ -231,7 +231,11 @@ def w_create_inittable(args): regions_map_path = absolute_path_of_the_file(args.regions_map_path) description_file_path = absolute_path_of_the_file(args.description_file_path) - init_table_metadata_path = absolute_path_of_the_file(args.init_table_metadata_path) + + if args.init_table_metadata_path is not None: + init_table_metadata_path = absolute_path_of_the_file(args.init_table_metadata_path) + else: + init_table_metadata_path = None init_table_path = absolute_path_of_the_file(args.init_table_path, True) create_inittable_file( diff --git a/jass/models/inittable.py b/jass/models/inittable.py index 72785ee3..0ae5d961 100644 --- a/jass/models/inittable.py +++ b/jass/models/inittable.py @@ -94,7 +94,6 @@ def create_pheno_summary(description): "Reference", "ReferenceLink", "dataLink", - "internalDataLink", "Nsample", "Ncase", "Ncontrol", @@ -130,7 +129,6 @@ def create_pheno_summary(description): "Reference", "ReferenceLink", "dataLink", - "internalDataLink", "Nsample", "Ncase", "Ncontrol", -- GitLab