From 4bc34f0e696dc27ead609b14fd3650f88f28895b Mon Sep 17 00:00:00 2001 From: JMante1 <40006518+JMante1@users.noreply.github.com> Date: Tue, 11 Oct 2022 12:16:32 -0600 Subject: [PATCH] Update library3.py --- excelutils/excel_sbol_utils/library3.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/excelutils/excel_sbol_utils/library3.py b/excelutils/excel_sbol_utils/library3.py index c9b1482..1353377 100644 --- a/excelutils/excel_sbol_utils/library3.py +++ b/excelutils/excel_sbol_utils/library3.py @@ -169,13 +169,12 @@ def dataSource(rowobj): if literal == 'FALSE': rowobj.obj.wasDerivedFrom = val + + else: ns = datasource_dict[pref]['Namespace'] if len(ns) > 0: rowobj.doc.change_object_namespace([rowobj.obj], ns) - else: - logging.warning('Literal data sources are not yet supported.') - def sequence(rowobj): for col in rowobj.col_cell_dict.keys(): val = rowobj.col_cell_dict[col]