Skip to content

Commit

Permalink
CompatHelper: bump compat for MLJLinearModels to 0.9, (keep existing …
Browse files Browse the repository at this point in the history
…compat) (#9)

Co-authored-by: Rik Huijzer <rikhuijzer@pm.me>
  • Loading branch information
github-actions[bot] and rikhuijzer authored Feb 4, 2023
1 parent ddef958 commit 15c297f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SIRUS"
uuid = "cdeec39e-fb35-4959-aadb-a1dd5dede958"
authors = ["Rik Huijzer <t.h.huijzer@rug.nl>"]
version = "1.1.0"
version = "1.1.1"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand All @@ -19,7 +19,7 @@ Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
AbstractTrees = "0.3, 0.4"
CategoricalArrays = "0.10"
InlineStrings = "1"
MLJLinearModels = "0.8"
MLJLinearModels = "0.8, 0.9"
MLJModelInterface = "1.4"
PrecompileSignatures = "3"
Tables = "1.7"
Expand Down
4 changes: 2 additions & 2 deletions src/rules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ end
Return a feature name that can be shown as `[:, 1]` or `[:, :some_var]`.
"""
function _pretty_feature_name(feature::Int, feature_name::String255)
name = string(feature_name)::String
name = String(feature_name)::String
s = string(feature)::String
if s == name
return s
Expand Down Expand Up @@ -110,7 +110,7 @@ _splits(rule::Rule) = rule.path.splits
Return a vector of feature names; one for each clause in `rule`.
"""
function feature_names(rule::Rule)::Vector{String}
return [string(_feature_name(split))::String for split in _splits(rule)]
return [String(_feature_name(split))::String for split in _splits(rule)]
end

"""
Expand Down

2 comments on commit 15c297f

@rikhuijzer
Copy link
Owner

Choose a reason for hiding this comment

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

@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/76995

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 v1.1.1 -m "<description of version>" 15c297f4982ce96a969387f8da6f7a2e825bb6ba
git push origin v1.1.1

Please sign in to comment.