Details
-
Task
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
-
Sprint 1.0.3
Description
Proposal:
class Connectivity(Type):
default = reader.File("zip_path")
region_labels = basic.StringArray(label="bla bla", default.read_data(name="centres.txt.bz2", usecols=(0,), dtype="string", field="region_labels"))
c = Connectivity()
c.default.load("different_zip_path", c)
reader.File().... will maintain inside a map between every field loaded through "read_data" method, thus being able to re-load from a different zip file.
A different implementation reader.Table should also be build, to be used when loading LookupTable attributes.