Skip to content

Commit

Permalink
Merge pull request #23 from SciML/aj/warn
Browse files Browse the repository at this point in the history
change error->warn when no `otherwise` in piecewise tag
  • Loading branch information
anandijain committed Mar 22, 2021
2 parents 3d3595f + 6fc1ba8 commit 0b85c73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MathML"
uuid = "abcecc63-2b08-419c-80c4-c63dca6fa478"
authors = ["anand <anandj@uchicago.edu> and contributors"]
version = "0.1.1"
version = "0.1.2"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
2 changes: 1 addition & 1 deletion src/parse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ end

function process_piece(node)
if nodename(node) != "otherwise"
error("expect an otherwise")
@warn "expect an otherwise"
else
return parse_node(firstelement(node))
end
Expand Down

4 comments on commit 0b85c73

@anandijain
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Error while trying to register: Changing package repo URL not allowed, please submit a pull request with the URL change to the target registry and retry.

@anandijain
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/32565

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.2 -m "<description of version>" 0b85c7321f66258bd8d3b5a005fd3ea46602dcb3
git push origin v0.1.2

Please sign in to comment.