Releases: BAMWelDX/weldx
v0.6.9
0.6.9 (19.11.2024)
Changes
- added support for homogeneous transformation matrices [{pull}
949
]: - added
create_cs_from_homogeneous_transformation
toCoordinateSystemManager
- added
from_homogeneous_transformation
toLocalCoordinateSystem
- added
as_homogeneous_matrix
toLocalCoordinateSystem
Fixes
- rename (fix typo) argument to
lcs_child_in_parent
inCoordinateSystemManager.add_cs
[{pull}936
]. - replace usages of
pkg_resources
withimportlib.metadata
[{pull}941
]. - replace usages of
copy_arrays
withmemmap
forasdf>=3.1.0
[{pull}940
].
Dependencies
- pin
weldx-widgets>=0.2.3
for viz [{pull}939
]. - pin
pint>=0.21
[{pull}941
]. - pin
python<3.13
[{pull}896
]. - pin
asdf<4
[{pull}952
].
What's Changed
- Renamed "lsc_child_in_parent" to "lcs_child_in_parent" by @CagtayFabry in #936
- update github configuration by @CagtayFabry in #939
- replace usages of
pkg_resources
withimportlib.metadata
by @zacharyburnett in #941 - replace usages of
copy_arrays
withmemmap
forasdf>=3.1.0
by @zacharyburnett in #940 - add Python 3.12 to test by @CagtayFabry in #896
- 948 add support to create coordinate systems from homogeneous transformation matrices by @mbwinkler in #949
- add upper pin for asdf by @braingram in #952
- v0.6.9 by @CagtayFabry in #953
New Contributors
- @zacharyburnett made their first contribution in #941
- @mbwinkler made their first contribution in #949
Full Changelog: v0.6.8...v0.6.9
v0.6.8
0.6.8 (07.06.2024)
Changes
- use pandas.to_timedelta function to pass units to the TimeDeltaIndex object [{pull}
918
].
Dependencies
- unpin nbval testing dependency.
- pin
python<3.12
[{pull}933
].
What's Changed
- cleanup by @CagtayFabry in #888
- update CI by @CagtayFabry in #889
- apply pyupgrade --py39-plus by @CagtayFabry in #893
- fix WeldxFile doctest for asdf 3.0 by @braingram in #904
- fix test that relied on slow garbage collection by @braingram in #903
- use pandas.to_timedelta function instead of invoking deprecated ctor arg by @marscher in #918
- fix doc builds by @CagtayFabry in #919
- Update .pre-commit-config.yaml by @CagtayFabry in #922
- pin python<3.12 by @CagtayFabry in #933
- v0.6.8 by @CagtayFabry in #934
Full Changelog: v0.6.7...v0.6.8
v.0.6.7
0.6.7 (2023.08.24)
Added
- added
weldx.exceptions
module withWeldxException
[{pull}871
] .
Fixes
- fix compatibility with
pint=0.21
[{pull}876
]. - fix typing compatibility with
pint=0.22
[{pull}880
]. - add
read_buffer_context
andwrite_read_buffer_context
toweldx.asdf.util
to fix tests accessing closed files. {issue}873
[{pull}875
].
Changes
- removed keyword
dummy_inline_arrays
from functionasdf.util.write_buffer
as it was only used internally [{pull}875
].
ASDF
- update
PintQuantityConverter
andPintUnitConverter
class assignments forpint=0.22
[{pull}880
]. - use
ValidationError
fromasdf
instead ofjsonschema
[{pull}886
].
Dependencies
- require
asdf>=2.15.1
[{pull}886
]
What's Changed
- Bump codecov/codecov-action from 3.1.2 to 3.1.3 by @dependabot in #870
- fix pint 0.21 related errors by @CagtayFabry in #876
- add read_buffer_context and write_read_buffer_context by @braingram in #875
- Bump codecov/codecov-action from 3.1.3 to 3.1.4 by @dependabot in #878
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #871
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #881
- update converters for pint 0.22 by @braingram in #880
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #884
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #885
- import ValidationError from asdf.exceptions by @braingram in #886
- v0.6.7 by @CagtayFabry in #887
New Contributors
- @braingram made their first contribution in #875
Full Changelog: v0.6.6...v0.6.7
0.6.6
0.6.6 (19.04.2023)
Version 0.6.6
is a compatibility release for xarray>=2023.4.0
.
Fixes
- explicitly keep reference time as xarray attribute in transformation and interpolation operations #868 .
Dependencies
- compatibility with
xarray=2023.4.0
andpandas=2
#868 .
What's Changed
- fix LCS time handling for xarray>=2023.4.0 by @CagtayFabry in #868
- Bump codecov/codecov-action from 3.1.1 to 3.1.2 by @dependabot in #867
- v0.6.6 by @CagtayFabry in #869
Full Changelog: v0.6.5...v0.6.6
0.6.5
0.6.5 (2023.04.06)
Version 0.6.5
is a compatibility release to support new asdf
and xarray
version and drops support for Python 3.8.
Please see the new minimal version requirements below.
Fixes
- fix non quantified xarray parameter inputs to
MathematicalExpression
#864 .
Dependencies
- drop Python 3.8 support [{pull}
866
] - require
xarray >= 2022.9.0
, asLocalCoordinateSystem
now handles merges correctly #861 . - require
asdf>=2.15
for new extension style validator interface #863 . - require
scipy >=1.6.2
andnetworkx >=2.8.2
#866
ASDF
- Move validators to new extension style and remove legacy extension code #863 .
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #859
- Fix XArray LCS join by @marscher in #861
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #862
- quantify xarray parameters in MathematicalExpression by @CagtayFabry in #864
- update to new Validator interface by @CagtayFabry in #863
- v0.6.5 by @CagtayFabry in #866
Full Changelog: v0.6.4...v0.6.5
0.6.4
0.6.4 (09.02.2023)
Version 0.6.4
is a small maintenance release with no changes affecting user code.
Changes
WeldxFile
also shows its JSON widget header representation in a JupyterHub based environment #854 .
ASDF
- remove preliminary validators from new style ASDF extension for compatibility with upcoming
asdf
changes #853 .
0.6.3
0.6.3 (02.02.2023)
Version 0.6.3
is a minor release to increase compatibility with Python 3.11 and asdf 2.14
with updates to the documentation structure and a new schema for video files.
Added
- New class to handle image sequence data and videos
weldx.util.media_file.MediaFile
#727 .
Dependencies
Changes
- Remove outdated calls to
weldx.asdf.util.get_highest_tag_version
in
TimeSeries
andSpatialData
converters #832 . - Use Ruff in pre-commit-action #824 .
- Use MyST-NB for documentation building #830 .
WeldxFile
correctly determines whether to display the header via widgets or text #848 .
ASDF
- update to
asdf://weldx.bam.de/weldx/schemas/core/file-0.1.1
#727 - add
asdf://weldx.bam.de/weldx/schemas/core/media_file-0.1.0
#727
What's Changed
- pin asdf<2.14 by @CagtayFabry in #828
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #827
- Update asdf test action by @CagtayFabry in #832
- remove get_highest_tag_version from converters by @CagtayFabry in #831
- use Ruff linter pre-commit actions by @marscher in #824
- Unpin ASDF by @WilliamJamieson in #834
- [GithubActions] Test old ASDF minor versions by @marscher in #835
- Unpin maximum Python version by @marscher in #837
- Up precommit by @marscher in #838
- update ruff 233, nbqa 1.6.1 by @CagtayFabry in #842
- remove macos from test ci by @CagtayFabry in #843
- add validate-pyproject by @CagtayFabry in #841
- Sphinx use myst-nb by @marscher in #830
- Schema media file by @marscher in #727
- Update mypy action by @CagtayFabry in #847
- [WXFile] determine widget usage by runtime env in ipython_display by @marscher in #848
- ignore jupyter folders by @CagtayFabry in #849
- v0.6.3 by @CagtayFabry in #850
New Contributors
- @WilliamJamieson made their first contribution in #834
Full Changelog: v0.6.2...v0.6.3
0.6.2
0.6.2 (07.11.2022)
Release 0.6.2
comes with new and updated tutorials and some minor fixes and code improvements.
added
- New tutorial that demonstrates the usage of the CSM in conjunction with an existing WelDX file #793
- New tutorial about the
MeasurementChain
class using an existing WelDX file #796
changes
weldx
now requires pip to install (previously it could be installed by directly invoking setup.py) #774.
From a users perspective nothing changes here, as the package was always recommended to be installed via pip.- Updated the outdated tutorial about the
LocalCoordinateSystem
#775 weld_seam
is now a required field in themulti_pass_weld
schema #790- Add section about time-dependent spatial data to the
CoordinateSystemManager
tutorial #792
fixes
MathematicalExpression
now uses SciPy and NumPy in numerical function evaluation. This enables it to use
advanced integration methods and fixes lengths computation ofDynamicShapeSegment
#770.- Fix errors in tutorial about quality standards #777
- Correct wrong handling of absolute times of the
TimeSeries
class #791 - Added support for Pint 0.20 #818.
What's Changed
- [doc] fix scipy intersphinx mapping (again) by @marscher in #765
- [doc] fix pattern for extlinks, use Sphinx-bundled (up2date) napoleon by @marscher in #766
- Revert "set networkx<=2.8.0" by @marscher in #763
- create and use data_models/terms by @marscher in #768
- Update CSM tutorial by @vhirtham in #767
- Fix length computation sympy by @marscher in #770
- Fix documentation build failure by @vhirtham in #780
- Fix build failure by @vhirtham in #783
- use license_files by @CagtayFabry in #784
- Update LCS tutorial by @vhirtham in #775
- Update multi-pass-weld schema description by @vhirtham in #781
- Add a test for quality standards and update the quality standard tutorial by @vhirtham in #777
- Add test for quality standard template by @vhirtham in #788
- Add test case for TimeSeries validation with wx_units by @vhirtham in #789
- Update
MultiPassWeld
schema by @vhirtham in #790 - Update
TimeSeries
handling of absolute times by @vhirtham in #791 - Add section about time-dependent
SpatialData
to CSM tutorial by @vhirtham in #792 - Fix CI (quality_standards_demo) by @vhirtham in #797
- Fix k3d in RTD documentation by @vhirtham in #798
- Add CSM introduction for the new tutorial series by @vhirtham in #793
- Add
MeasurementChain
introduction for new tutorial series by @vhirtham in #796 - Migrate from setup.cfg to pyproject.toml by @marscher in #774
- update zenodo link in README by @CagtayFabry in #803
- update link to weldx tutorial files for v0.6.0 by @CagtayFabry in #804
- Update rtd_environment.yml by @CagtayFabry in #806
- pin xarray to <2022.09.0 by @marscher in #811
- Conda recipe fix deps by @marscher in #809
- Generated jupyter notebook cell ids (required for jupyter notebook format 4.5+) by @marscher in #808
- [sphinx] generate intersphinx mapping with matching version numbers by @marscher in #815
- Fix pint-0.20 support and fix test warnings by @marscher in #818
- Fix pint intersphinx by @marscher in #820
- Split up core in smaller sub modules by @marscher in #821
- v0.6.2 by @CagtayFabry in #822
Full Changelog: v0.6.1...v0.6.2
0.6.1
0.6.1 (19.05.2022)
Release 0.6.1
moves advanced plotting functions over to the weldx-widgets
package and includes minor bugfixes.
changes
WeldxFile
now raises aKeyError
, if the user tries to directly read or manipulate a protected ASDF keyword
within the file. [#759]
fixes
- Fix interactive
view_tree
display [#756]. - Increase
mypy
coverage and update type hints and GH action [#753].
dependencies
weldx
now (optionally) requiresweldx_widgets
to visualize coordinate systems/manager [#749].- NumPy is not required as a build time dependency anymore, as Bottleneck now provides binaries on PyPI [#749].
- Set
networkx<=2.8.0
to allow Python deepcopy ofCoordinateSystemManager
[#761].
What's Changed
- Update changlog link by @vhirtham in #750
- Minor changes by @marscher in #751
- Use weldx-widgets to reduce dependencies of weldx by @marscher in #749
- remove old visualization modules by @CagtayFabry in #755
- convert to base types for view_tree by @CagtayFabry in #756
- convert to base types for view_tree [fix] by @CagtayFabry in #758
- update zenodo badge by @CagtayFabry in #760
- [wxfile] raise KeyError for non-existent keys. by @marscher in #759
- set networkx<=2.8.0 by @CagtayFabry in #761
- Install dependencies for MyPy analysis by @marscher in #753
Full Changelog: v0.6.0...v0.6.1
v0.6.0
0.6.0 (29.04.2022)
This release includes major changes to the handling and support of units in the API and ASDF schemas.
All classes now support and require quantities where appropriate. Plain numbers without units are no longer supported
and will raise an exception. If the number is truly dimensionless, you still have to wrap it with
the quantity class weldx.Q_
like this:
my_number = 42.0
my_number_wrapped = weldx.Q_(my_number, "meter")
Furthermore, a new class called GenericSeries
was added. It provides a common interface to describe coordinate-based
data either by discrete values or mathematical expressions. A built-in mechanism lets you derive specialized series with
specific requirements. For more information, have a look
at the new tutorial .
added
DynamicShapeSegment
[#713]SpatialSeries
andDynamicTraceSegment
[#699]- first draft of the
multi_pass_weld
schema for WelDX files [#667] - add
GenericSeries
as base class supporting arrays and equations [#618] - add experimental unit support for
.weldx.interp_like
accessor [#518] - new tutorial series that introduces the most important WelDX features
step by step based on a full example file [#555] - add
path
option toWeldxFile.info
andWeldxFile.show_asdf_header
[#555]
removed
- removed access to
WeldxFile.data
[#744]
changes
- The
wx_property_tag
validator now also accepts lists of different tags. [#670]
When multiple tags are passed, validation will fail if none of the supplied patterns match. - Due to a
pandas
update, using the + operator withTime
and either apandas.TimedeltaIndex
orpandas.DatetimeIndex
now only works if theTime
instance is on the left-hand side. [#684] LocalCoordinateSystem
andCoordinateSystemManager
now supportpint.Quantity
as coordinates.
Types without units are still supported but are deprecated. [#683]- Renamed show_asdf_header of
WeldxFile
toWeldxFile.header
. [#694] WeldxFile.custom_schema
now accepts an optional tuple with the first element being a schema to validate upon read,
the second upon writing the data. [#697]- Reshape
SpatialData
coordinates to(-1, 3)
before exporting withmeshio
for compatibility. [#723] SpatialData
,LocalCoordinateSystem
andCoordinateSystemManager
now require units [#731]
fixes
TimeSeries
can now be serialized correctly when using absolute times [#677]
documentation
- update PR link format in the changelog [#658]
- new tutorial that describes how to work with workpiece data from a WelDX file [#681]
ASDF
- update weldx extension and manifest version to
0.1.1
[#655] - removed legacy
weldx
tag and schema support [#600] - update
core/geometry/spatial_data
to version0.1.1
with support for multidimensional data [#655] - add
wx_shape
validation support forcore/data_array
[#655] - update
core/time_series
schema to usetime/time
[#677] - update
core/variable
schema to allow single string as data [#707] - update the default sorting order of
select_tag
forWeldxConverter
[#733] - add custom validation behavior to
wx_unit
[#739]
deprecations
- Coordinates without units for
LocalCoordinateSystem
andCoordinateSystemManager
dependencies
weldx
now works with Python-3.10. [#696]- bump to
asdf >=2.8.2
[#668] - add
pint-xarray
dependency [#518] - bump to
numpy>=1.20
(for numpy.typing) [#656] - bump to
pint >=0.18
for typing [#664] - bump to
xarray >=0.19
for array creation compatibility [#618] - add
bidict
dependency [#618] - set
networkx !=2.7
for plotting compatibility (for now) [#714, #722]
What's Changed
- update zenodo badge by @CagtayFabry in #653
- remove legacy schemas and code by @CagtayFabry in #600
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #654
- add dependabot.yml by @CagtayFabry in #659
- Bump codecov/codecov-action from 1 to 2.1.0 by @dependabot in #660
- Bump mamba-org/provision-with-micromamba from 10 to 11 by @dependabot in #661
- add issue and PR directives for sphinx by @CagtayFabry in #658
- Pint xarray by @CagtayFabry in #518
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #662
- use numpy typing for ArrayLike by @CagtayFabry in #656
- update spatial data schema by @CagtayFabry in #655
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #666
- update to pint >=0.18 by @CagtayFabry in #664
- asdf 2.8.2 fixes by @CagtayFabry in #668
- wx_property_tag list by @CagtayFabry in #670
- add flake8 plugins to pre-commit by @CagtayFabry in #669
- New tutorials by @vhirtham in #555
- set meshio<5.2 for sphinx builds by @CagtayFabry in #673
- Add
GenericSeries
by @vhirtham in #618 - [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #675
- Prevent circular ImportError meshio by @marscher in #676
- add time_series-0.1.1.yaml by @CagtayFabry in #677
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #679
- fix time behavior in tests and filter warnings for pandas 1.4 by @CagtayFabry in #689
- run PEP585 upgrade by @CagtayFabry in #678
- Third tutorial: geometry by @vhirtham in #681
- Fix failing tests and documentation by @vhirtham in #684
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #692
- Rename wxfile asdf header by @marscher in #694
- [doc] fix SciPy intersphinx link by @marscher in #698
- add and run mdformat by @CagtayFabry in #701
- treat
pint.UnitStrippedWarning
as error in pytest runs by @CagtayFabry in #702 - split read/write schema validation by @marscher in #697
- Check units of coordinates by @vhirtham in #683
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #704
- allow string in
core/variable
, default tag sorting by @CagtayFabry in #707 - Fix package build.yml by @vhirtham in #708
- add multi_pass_weld-0.1.0.yaml by @CagtayFabry in #667
- Download
single_pass_weld.wx
directly in the tutorials by @vhirtham in #705 - use Python-3.10 in docs building, testing by @marscher in #696
- ignore matplotlib docs link warnings by @CagtayFabry in #710
SpatialSeries
andDynamicTraceSegment
by @vhirtham in #699- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #711
- set networkx<2.7 by @CagtayFabry in #714
- allow asdf 2.10 by @CagtayFabry in #717
- Bump actions/setup-python from 2 to 3 by @dependabot in #718
- Fix sympy error by @vhirtham in #721
- Bump actions/checkout from 2 to 3 by @dependabot in #719
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #720
- allow networkx >2.7.0 by @CagtayFabry in #722
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #724
- Add
DynamicShapeSegment
by @vhirtham in #713 - reshape point data for
meshio
file export by @CagtayFabry in #723 - Update
GenericSeries
docstrings by @vhirtham in #712 - [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #726
- Bump actions/cache from 2 to 3 by @dependabot in #728
- fix docs build by @CagtayFabry in #729
- add git diff check by @CagtayFabry in #730
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #732
- Fix doctests by @vhirtham in #734
- [RTD] use new post_checkout build phase to unshallow copy. by @marscher in #735
- set default tag sorting order by @CagtayFabry in #733
- Bump actions/upload-artifact from 2 to 3 by @dependabot in https://github.com/BAMWelDX/weldx/pul...