Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add citation.cff #159

Merged
merged 5 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ Aqua = "0.8"
CSV = "0.10.5"
Catalyst = "13"
DataFrames = "1"
Downloads = "1"
ModelingToolkit = "8.51"
OrdinaryDiffEq = "6.42"
Plots = "1.11"
SBML = "1.4.4"
SBMLToolkitTestSuite = "0.0.3"
SafeTestsets = "0.1"
Sundials = "4.14"
SymbolicUtils = "1"
Downloads = "1"
SymbolicUtils = "1, 2"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why would we add back 1?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought the less restrictive we are with our compats, the less likely developers who may depend on SBMLtk have compatibility issues. Also because of a compatibility requirement with the latest Catalyst release. Looks like the next release will no longer have a SymbolicUtils requirement, tho.

Test = "1"
julia = "1.10"

Expand Down
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,20 @@ odesys = readSBML("my_model.xml", ODESystemImporter())

The package is released under the [MIT license](https://github.com/SciML/SBMLToolkit.jl/blob/main/LICENSE).

## Development team
## Questions and comments

This package was developed by [Paul F. Lang](https://www.linkedin.com/in/paul-lang-7b54a81a3/) at the University of Oxford, UK and [Anand Jain](https://github.com/anandijain) at the University of Chicago, USA.
Please use GitHub issues and the #sciml-sysbio channel in the [Julia Slack workspace](https://julialang.org/slack/) with any questions or comments.

## Questions and comments
# Citation

If you use SBMLToolkit.jl in your research, please cite [this paper](https://www.degruyter.com/document/doi/10.1515/jib-2024-0003/html):

Please use GitHub issues, the #sciml-sysbio channel in the [Julia Slack workspace](https://julialang.org/slack/) or email [Paul F. Lang](mailto:plang@biosim.ai) with any questions or comments.
```
@article{lang_sbmltoolkitjl_2024,
title = {{SBMLToolkit}.jl: a {Julia} package for importing {SBML} into the {SciML} ecosystem},
doi = {10.1515/jib-2024-0003},
journal = {Journal of Integrative Bioinformatics},
author = {Lang, Paul F. and Jain, Anand and Rackauckas, Christopher},
year = {2024},
}
```
8 changes: 4 additions & 4 deletions test/systems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ rs = ReactionSystem(MODEL2) # Contains reversible reaction
@test isequal(Catalyst.get_states(rs), [s1])
@test isequal(Catalyst.get_ps(rs), [k1, c1])

@test_nowarn convert(ModelingToolkit.ODESystem, rs)
@test_nowarn structural_simplify(convert(ModelingToolkit.ODESystem, rs))
@test convert(ModelingToolkit.ODESystem, rs) isa ODESystem
@test structural_simplify(convert(ModelingToolkit.ODESystem, rs)) isa ODESystem

# Test ODESystem constructor
odesys = ODESystem(MODEL1)
Expand All @@ -89,7 +89,7 @@ par = [k1 => 1.0, c1 => 2.0]
@test isequal(ModelingToolkit.defaults(odesys), ModelingToolkit._merge(u0, par)) # PL: @Anand: for some reason this does not work with `Catalyst.get_default()`
@named odesys = ODESystem(MODEL1)
isequal(nameof(odesys), :odesys)
@test_nowarn structural_simplify(odesys)
@test structural_simplify(odesys) isa ODESystem

odesys = ODESystem(readSBML(sbmlfile))
m = readSBML(sbmlfile)
Expand All @@ -106,7 +106,7 @@ par = [k1 => 1.0, c1 => 2.0]
@named odesys = ODESystem(MODEL1)
isequal(nameof(odesys), :odesys)

@test_nowarn ODEProblem(odesys, [], [0.0, 1.0], [])
@test ODEProblem(odesys, [], [0.0, 1.0], []) isa ODEProblem

# # Test ODEProblem
# oprob = ODEProblem(ODESystem(MODEL1), [], [0.0, 1.0], [])
Expand Down
Loading