File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -178,15 +178,15 @@ function _fromtable(
178178):: IFeatureLayer where {names}
179179 cols = Tables. columns (rows)
180180 types = (eltype (collect (col)) for col in cols)
181- return _fromtable (Tables. Schema (names, types), rows; name)
181+ return _fromtable (Tables. Schema (names, types), rows; name= name )
182182end
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
188188 names = Tables. columnnames (row)
189- return _fromtable (Tables. Schema (names, nothing ), rows; name)
189+ return _fromtable (Tables. Schema (names, nothing ), rows; name= name )
190190end
191191
192192"""
@@ -232,5 +232,5 @@ function IFeatureLayer(table; name::String = "")::IFeatureLayer
232232 # Extract table data
233233 rows = Tables. rows (table)
234234 schema = Tables. schema (table)
235- return _fromtable (schema, rows; name)
235+ return _fromtable (schema, rows; name= name )
236236end
You can’t perform that action at this time.
0 commit comments