Skip to content

Releases: maucejo/UFFFiles.jl

v1.2.0

02 Feb 15:08

Choose a tag to compare

UFFFiles v1.2.0

Diff since v1.1.0

Breaking changes

  • Add FileIO integration to allow reading and writing UFF files using the load and save functions from the FileIO package.

v1.1.0

07 Dec 20:00

Choose a tag to compare

UFFFiles v1.1.0

Diff since v1.0.2

Breaking changes

  • Add collect_to_mat function to replace dataset55_to_mat and dataset58_to_mat functions. This new function can handle both Dataset55 and Dataset58 objects.

  • Add convert_to_si! function that can convert units of multiple datasets at once.

  • Dataset55 struct now include r7 and r8 fields as named tuples to store the raw data from lines 7 and 8 of the dataset block. The previous r7_raw and r8_raw constructor fields have been removed.

  • Dataset2414 struct now include int_analysis_type, real_analysis_type, data_info, and data_value fields as named tuples and arrays to store the parsed data from the dataset block. The previous int_analysis_type_raw, real_analysis_type_raw, data_info_raw, and data_value_raw constructor fields have been removed.

Merged pull requests:

v1.0.2

28 Nov 13:43

Choose a tag to compare

UFFFiles v1.0.2

Diff since v1.0.1

  • Improve internals implementation to deal with files that have inconsistent line header.

  • Implementation of tests to check for correct reading and writing of the supported datasets.

Merged pull requests:

  • Improve while loop, add tests, fix bugs in dataset 58 (#14) (@JakeZw)

v1.0.1

26 Nov 13:02

Choose a tag to compare

UFFFiles v1.0.1

Diff since v1.0.0

  • Minor changes to the internals to avoid errors when reading files.

Merged pull requests:

  • Minor bug fixes and enhancements (#13) (@JakeZw)

v1.0.0

25 Nov 09:02

Choose a tag to compare

UFFFiles v1.0.0

Diff since v0.2.1

The API of the package is stable now, which justifies the v1 status.

Breaking changes

  • Refactoring of the code to reduce the memory footprint when parsing UFF files.

  • Add supported_file_extensions function to list supported UFF file extensions.

  • Add srdc_doc function to access to the original documentation for supported datasets.

  • readuff and writeuff functions now check the file extension and throw an error if it is not supported.

  • Datasets

    • Add Dataset1858. Thanks to @JakeZw for submitting the PR.

    • readuff and writeuff now can now read and write binary Dataset58. Thanks to @JakeZw for submitting the PR.

    • conversion_factors field in Dataset164 struct has been modified in favor of individual names for scaling factors. This change improves fields clarity. Thanks to @JakeZw for submitting the PR.

    • node_coords field in Dataset15 struct has been changed from Vector{Vector{Float64}} to Matrix{Float64} for easier manipulation of node coordinates and consistency with Dataset2411.

Merged pull requests:

Closed issues:

  • UFF 58b (#2)
  • Should Nodes be Structs (#4)
  • Should dataset15 be a vector (#5)

v0.2.1

10 Nov 11:01

Choose a tag to compare

UFFFiles v0.2.1

Diff since v0.2.0

  • Skipping unsupported dataset blocks during UFF file parsing, with a warning message instead of throwing an error.

  • Remove parse_dataset function in favor of getfield(UFFFiles, Symbol("parse_dataset", dtype)) calls in read_uff function. Thanks to @JakeZw

  • Modify parse_dataset58 to handle lines without spacing between values.

  • Use multiple dispatch to write dataset blocks in a more modular way.

v0.2.0

07 Nov 10:16

Choose a tag to compare

UFFFiles v0.2.0

Diff since v0.1.0

Breaking changes

  • This release adds functions for writing UFF files
  • The documentation is updated accordingly

v0.1.0

05 Nov 12:05

Choose a tag to compare

UFFFiles v0.1.0