diff --git a/jass/__main__.py b/jass/__main__.py index 8779f1fef58bf9be7bf0858a84edc7fbf8740aaf..586b489bc19b43b64b7d1ad111983e4e04613f5f 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 72785ee3b1e56305b23ad9dbf420b5f3595223d5..0ae5d9615644f7948360c5e5fe0e463d73c47d9c 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",