mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 09:27:07 +00:00
Add TODO comment
This commit is contained in:
@@ -74,6 +74,7 @@ def from_file(path, spec):
|
|||||||
elif "type" in spec and spec["type"] in specfields:
|
elif "type" in spec and spec["type"] in specfields:
|
||||||
fields = specfields[spec["type"]]
|
fields = specfields[spec["type"]]
|
||||||
else:
|
else:
|
||||||
|
# TODO: Should default to looking for spec.format and doing a legacy import on it
|
||||||
return "Neither 'type' nor 'fields' given. I don't know how to import this fixed-width dataset."
|
return "Neither 'type' nor 'fields' given. I don't know how to import this fixed-width dataset."
|
||||||
|
|
||||||
firstRow = spec.get("firstRow", 0)
|
firstRow = spec.get("firstRow", 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user