Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LCSB-BioCore
SBML.jl
Commits
919e2a64
Commit
919e2a64
authored
Jun 17, 2021
by
Miroslav Kratochvil
Browse files
Julia doesn't like my contravariant type arguments
:'(
parent
05deb227
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/converters.jl
View file @
919e2a64
...
...
@@ -24,9 +24,7 @@ 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
conversions.
"""
libsbml_convert
(
conversion_options
::
AbstractVector
{
Pair
{
String
,
AbstractDict
{
String
,
String
}}},
)
=
libsbml_convert
(
conversion_options
::
AbstractVector
{
Pair
{
String
,
Dict
{
String
,
String
}}})
=
doc
->
begin
for
(
converter
,
options
)
in
conversion_options
props
=
ccall
(
sbml
(
:
ConversionProperties_create
),
VPtr
,
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment