# SBMLToolkit and Catalyst Warnings

**URL:** <https://discourse.julialang.org/t/sbmltoolkit-and-catalyst-warnings/107533>\
**Category:** Modelling & Simulations\
**Tags:** modelingtoolkit, sbml, catalyst\
**Created:** [December 12, 2023, 10:55pm UTC](https://discourse.julialang.org/t/sbmltoolkit-and-catalyst-warnings/107533 "2023-12-12T22:55:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick1](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Post date:** [December 12, 2023, 10:55pm UTC](https://discourse.julialang.org/t/sbmltoolkit-and-catalyst-warnings/107533/1 "2023-12-12T22:55:56Z")

</div>

I am importing an SBML file without a problem but I got the following warnings:

> Warning: Stoichiometries of SpeciesReferences are not defined. Setting to 1.

> WARNING: both Symbolics and ModelingToolkit export “supremum”; uses of it in module Catalyst must be qualified

> WARNING: both Symbolics and ModelingToolkit export “infimum”; uses of it in module Catalyst must be qualified

Do you know why this is happening?

Here is the code. The warnings happen on the last line:

```julia
using DifferentialEquations
using SBMLToolkit
using ModelingToolkit

SBMLToolkit.checksupport_file("toy_model_sbml.xml");
mdl = readSBML("toy_model_sbml.xml");
rn = ReactionSystem(mdl);

```

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [December 28, 2023, 12:32pm UTC](https://discourse.julialang.org/t/sbmltoolkit-and-catalyst-warnings/107533/2 "2023-12-28T12:32:23Z")

</div>

The warnings are benign but we’ll get them fixed very soon.

---

<div class="post-metadata">

**Author:** ![isaacsas](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@isaacsas](https://discourse.julialang.org/u/isaacsas)\
**Post date:** [December 28, 2023, 2:41pm UTC](https://discourse.julialang.org/t/sbmltoolkit-and-catalyst-warnings/107533/3 "2023-12-28T14:41:00Z")

</div>

@Nick1 you might want to open an issue on [SBMLToolkit.jl](https://github.com/SciML/SBMLToolkit.jl/) about the warning you are getting with your code and the specific SBML file you are importing. It might be that a more descriptive warning could be created in this case. I have no idea what “Warning: Stoichiometries of SpeciesReferences are not defined. Setting to 1.” means, and the main SBMLToolkit developer doesn’t use Discourse (he is on Slack though and looks at the sciml-sysbio channel – user `@Paul Lang` there).

---

<div class="post-metadata">

**Author:** ![Nick1](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Post date:** [January 29, 2024, 10:14pm UTC](https://discourse.julialang.org/t/sbmltoolkit-and-catalyst-warnings/107533/4 "2024-01-29T22:14:12Z")

</div>

Thanks @isaacsas! I will open a topic
