Skip to content

Commit 5035a0e

Browse files
committed
Formatted with JuliaFormatter
1 parent a6277af commit 5035a0e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/tables.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ end
104104
function _fromtable(
105105
sch::Tables.Schema{names,types},
106106
rows;
107-
name::String="",
107+
name::String = "",
108108
)::IFeatureLayer where {names,types}
109109
# TODO maybe constrain `names` and `types` types
110110
strnames = string.(sch.names)
@@ -173,15 +173,15 @@ end
173173

174174
function _fromtable(
175175
::Tables.Schema{names,nothing},
176-
rows;
177-
name::String="",
176+
rows;
177+
name::String = "",
178178
)::IFeatureLayer where {names}
179179
cols = Tables.columns(rows)
180180
types = (eltype(collect(col)) for col in cols)
181181
return _fromtable(Tables.Schema(names, types), rows; name)
182182
end
183183

184-
function _fromtable(::Nothing, rows, name::String="")::IFeatureLayer
184+
function _fromtable(::Nothing, rows, name::String = "")::IFeatureLayer
185185
state = iterate(rows)
186186
state === nothing && return IFeatureLayer()
187187
row, _ = state
@@ -225,7 +225,7 @@ Layer: towns
225225
Field 2 (location): [OFTString], missing, New Delhi
226226
```
227227
"""
228-
function IFeatureLayer(table; name::String="")::IFeatureLayer
228+
function IFeatureLayer(table; name::String = "")::IFeatureLayer
229229
# Check tables interface's conformance
230230
!Tables.istable(table) &&
231231
throw(DomainError(table, "$table has not a Table interface"))

0 commit comments

Comments
 (0)