Skip to content

Commit

Permalink
Merge pull request #160 from kpobrien/iterate_nightly_fix
Browse files Browse the repository at this point in the history
fix display error on nightly
  • Loading branch information
mcabbott authored Oct 30, 2024
2 parents 03fd50d + 4032bbb commit e98481c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "AxisKeys"
uuid = "94b1ba4f-4ee9-5380-92f1-94cde586c3c5"
license = "MIT"
version = "0.2.14"
version = "0.2.15"

[deps]
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
Expand Down
1 change: 1 addition & 0 deletions src/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ Base.alignment(io::IO, x::ShowWith) = alignment(io, x.val) .+ (2,0) # extra bra
Base.length(x::ShowWith) = length(string(x.val))
Base.ncodeunits(x::ShowWith) = ncodeunits(string(x.val))
Base.print(io::IO, x::ShowWith) = printstyled(io, string(x.val); x.nt...)
Base.iterate(x::ShowWith) = nothing # fix for https://github.com/mcabbott/AxisKeys.jl/issues/159

# For higher-dim printing, I just want change the [:, :, 1] things, add name/key,
# but can't see a way to hook in. So copy this huge function from Base?
Expand Down

2 comments on commit e98481c

@mcabbott
Copy link
Owner Author

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/118395

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

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.2.15 -m "<description of version>" e98481cb7a6be2cd3da3a9a28cff224f321d2e60
git push origin v0.2.15

Please sign in to comment.