From a57b2a45c4ad6b5800d8260ae7e3f3ac3593af25 Mon Sep 17 00:00:00 2001 From: Francis Charette Migneault Date: Mon, 9 Dec 2024 12:15:37 -0500 Subject: [PATCH] fix circular import --- cwltool/cwlprov/ro.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cwltool/cwlprov/ro.py b/cwltool/cwlprov/ro.py index ef8b55ecd..f57e167d4 100644 --- a/cwltool/cwlprov/ro.py +++ b/cwltool/cwlprov/ro.py @@ -47,7 +47,6 @@ WORKFLOW, Hasher, ) -from .provenance_profile import ProvenanceProfile class ResearchObject: @@ -95,6 +94,8 @@ def initialize_provenance( run_uuid: Optional[uuid.UUID] = None, ): """Hook function allowing calling code to extend the provenance details if needed.""" + from .provenance_profile import ProvenanceProfile + return ProvenanceProfile( research_object=self, full_name=full_name,