Skip to content

Commit

Permalink
Debug isin for RectRegion parents
Browse files Browse the repository at this point in the history
  • Loading branch information
natgeo-wong committed Jun 25, 2021
1 parent ad01c84 commit cafc0f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IsInGeoRegion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ function isinGeoRegion(
throw=false
)

if isin
if !isin

if throw
error("The GeoRegion $(Child.regID) ($(Child.name)) is not a subset of the GeoRegion $(GeoReg.regID) ($(GeoReg.name))")
Expand Down

2 comments on commit cafc0f0

@natgeo-wong
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register

Release Notes:

  • Debugging isin set of functions for RectRegion
  • Prevent in-place mutation of longitude vector
  • Check that GeoRegion is a subset of given Parent before actual creation

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

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 v2.0.2 -m "<description of version>" cafc0f0b0549252cc2fe9ca8b6e0e175076794d6
git push origin v2.0.2

Please sign in to comment.