File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -541,11 +541,15 @@ function set_dsBB(D, all_bbs::Bool=true)
541541 return D
542542end
543543
544- # ---------------------------------------------------------------------------------------------------
545544function set_dsBB! (D, all_bbs:: Bool = true )
545+ _set_dsBB! (wrapDatasets (" " , D), all_bbs)
546+ end
547+ # ---------------------------------------------------------------------------------------------------
548+ function _set_dsBB! (w:: wrapDatasets , all_bbs:: Bool )
549+ D = unwrapDatasets (w:: wrapDatasets )[2 ]
546550 # Compute and set the global and individual BoundingBox for a Vector{GMTdataset} + the trivial cases.
547551 # If ALL_BBS is false then assume individual BBs are already knwon.
548- isempty (D) && return nothing
552+ ((D === nothing ) || isempty (D) ) && return nothing
549553
550554 if (all_bbs) # Compute all BBs
551555 if isa (D, GMTdataset)
You can’t perform that action at this time.
0 commit comments