From 4abb74876d8d81746b17fe6d2e2d14df5c19c6c6 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Fri, 21 Oct 2022 14:37:33 +0200 Subject: [PATCH] iolog fixup --- src/types/models/SBMLModel.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/models/SBMLModel.jl b/src/types/models/SBMLModel.jl index effb8a3bf..2f79098a7 100644 --- a/src/types/models/SBMLModel.jl +++ b/src/types/models/SBMLModel.jl @@ -169,7 +169,7 @@ end function _sbml_export_sbo(annotations::Annotations)::Maybe{String} haskey(annotations, "sbo") || return nothing if length(annotations["sbo"]) != 1 - @_io_log @error "Data loss: SBO term is not unique for SBML export" annotations["sbo"] + @io_log @error "Data loss: SBO term is not unique for SBML export" annotations["sbo"] return end return annotations["sbo"][1] @@ -180,7 +180,7 @@ function _sbml_import_notes(notes::Maybe{String})::Notes end function _sbml_export_notes(notes::Notes)::Maybe{String} - isempty(notes) || @_io_log @error "Data loss: notes not exported to SBML" notes + isempty(notes) || @io_log @error "Data loss: notes not exported to SBML" notes nothing end