Unverified Commit 80581368 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil Committed by GitHub
Browse files

Merge pull request #67 from LCSB-BioCore/mk-better-converter-type

Tune up the converter type :]
parents 647f4230 5b5d917a
...@@ -24,7 +24,9 @@ A converter that runs the SBML conversion routine, with specified conversion ...@@ -24,7 +24,9 @@ A converter that runs the SBML conversion routine, with specified conversion
options. The argument is a vector of pairs to allow specifying the order of options. The argument is a vector of pairs to allow specifying the order of
conversions. conversions.
""" """
libsbml_convert(conversion_options::AbstractVector{Pair{String,Dict{String,String}}}) = libsbml_convert(
conversion_options::AbstractVector{<:Pair{String,<:AbstractDict{String,String}}},
) =
doc -> begin doc -> begin
for (converter, options) in conversion_options for (converter, options) in conversion_options
props = ccall(sbml(:ConversionProperties_create), VPtr, ()) props = ccall(sbml(:ConversionProperties_create), VPtr, ())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment