Releases: maucejo/UFFFiles.jl
v1.2.0
UFFFiles v1.2.0
Breaking changes
- Add FileIO integration to allow reading and writing UFF files using the
loadandsavefunctions from the FileIO package.
v1.1.0
UFFFiles v1.1.0
Breaking changes
-
Add
collect_to_matfunction to replacedataset55_to_matanddataset58_to_matfunctions. This new function can handle bothDataset55andDataset58objects. -
Add
convert_to_si!function that can convert units of multiple datasets at once. -
Dataset55struct now includer7andr8fields as named tuples to store the raw data from lines 7 and 8 of the dataset block. The previousr7_rawandr8_rawconstructor fields have been removed. -
Dataset2414struct now includeint_analysis_type,real_analysis_type,data_info, anddata_valuefields as named tuples and arrays to store the parsed data from the dataset block. The previousint_analysis_type_raw,real_analysis_type_raw,data_info_raw, anddata_value_rawconstructor fields have been removed.
Merged pull requests:
v1.0.2
UFFFiles v1.0.2
-
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:
v1.0.1
UFFFiles v1.0.1
- Minor changes to the internals to avoid errors when reading files.
Merged pull requests:
v1.0.0
UFFFiles v1.0.0
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_extensionsfunction to list supported UFF file extensions. -
Add
srdc_docfunction to access to the original documentation for supported datasets. -
readuffandwriteufffunctions now check the file extension and throw an error if it is not supported. -
Datasets
-
Add
Dataset1858. Thanks to @JakeZw for submitting the PR. -
readuffandwriteuffnow can now read and write binaryDataset58. Thanks to @JakeZw for submitting the PR. -
conversion_factorsfield inDataset164struct has been modified in favor of individual names for scaling factors. This change improves fields clarity. Thanks to @JakeZw for submitting the PR. -
node_coordsfield inDataset15struct has been changed fromVector{Vector{Float64}}toMatrix{Float64}for easier manipulation of node coordinates and consistency withDataset2411.
-
Merged pull requests:
- Individual names for scaling factor in UFF164 (#3) (@JakeZw)
- Refactor write_datasets (#8) (@JakeZw)
- Dev (#9) (@maucejo)
- Bug fixes in 58 read and write (#10) (@JakeZw)
Closed issues:
v0.2.1
UFFFiles v0.2.1
-
Skipping unsupported dataset blocks during UFF file parsing, with a warning message instead of throwing an error.
-
Remove
parse_datasetfunction in favor ofgetfield(UFFFiles, Symbol("parse_dataset", dtype))calls inread_ufffunction. Thanks to @JakeZw -
Modify
parse_dataset58to handle lines without spacing between values. -
Use multiple dispatch to write dataset blocks in a more modular way.
v0.2.0
UFFFiles v0.2.0
Breaking changes
- This release adds functions for writing UFF files
- The documentation is updated accordingly