Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Nov 17:09
ac6b9b9

HeaderArrayFile v0.2.0

Diff since v0.1.0

Breaking changes

  • The way of handing HAR files has changed in this release--how the reading of the file and its extraction into a dictionary is done in two steps. Here is an example reading the standard GTAP HAR files.

The old way:

data = HeaderArrayFile.readHar("gsdfdat.har")
sets = HeaderArrayFile.readHar("gsdfset.har")
parameters = HeaderArrayFile.readHar("gsdfpar.har")

The new way--read the HAR files in first:

data_har = HeaderArrayFile.File("./gsdfdat.har")
sets_har = HeaderArrayFile.File("./gsdfset.har")
parameters_har = HeaderArrayFile.File("./gsdfpar.har")

Then create a dictionary:

data = Dict(keys(data_har) .=> NamedArray.(values(data_har)))
sets = Dict(keys(sets_har) .=> NamedArray.(values(sets_har)))
data = Dict(keys(parameters_har) .=> NamedArray.(values(parameters_har)))

Merged pull requests:

Closed issues:

  • TagBot trigger issue (#2)