Skip to content

Commit 0ded9d2

Browse files
committed
Small bbox fix #138
1 parent 2b01bc3 commit 0ded9d2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* IIASA internal functionalities such as preparation of GLOBIOM data have been transferred to [BNRTools](https://github.com/iiasa/BNRTools)
1111
* Small bug fixed related to manual provision of scenario thresholds.
1212
* `predictor_filter()` now also accepts [`SpatRaster`] objects as inputs.
13+
* Small fix so that bounding box extent is correctly printed #138
1314

1415
# ibis.iSDM 0.1.5
1516

R/class-biodiversitydistribution.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ BiodiversityDistribution <- R6::R6Class(
9595

9696
message(paste0('\033[1m','\033[36m','<', self$name(),'>','\033[39m','\033[22m',
9797
ifelse(is.Waiver(self$limits), "\nBackground extent: ", "\nBackground extent (limited): "),
98-
"\n xmin: ", ex[['extent']][1], ", xmax: ", ex[['extent']][2],",",
99-
"\n ymin: ", ex[['extent']][3], ", ymax: ", ex[['extent']][4],
98+
"\n xmin: ", ex[['extent']]['xmin'], ", xmax: ", ex[['extent']]['xmax'],",",
99+
"\n ymin: ", ex[['extent']]['ymin'], ", ymax: ", ex[['extent']]['ymax'],
100100
"\n projection: ", ex[['proj']],
101101
"\n --------- ",
102102
"\n", self$biodiversity$show(),

0 commit comments

Comments
 (0)