From 1f570692a6ef50b881a522b0cae8c72e383583ca Mon Sep 17 00:00:00 2001 From: Cagtay Fabry <43667554+CagtayFabry@users.noreply.github.com> Date: Fri, 12 Mar 2021 13:23:45 +0100 Subject: [PATCH] v0.3.0 (#270) * update CHANGELOG.md for v0.3.0 release * add AWS shielding gas schemas to docs * update CHANGELOG.md * fix type * add title descriptions to aws schemas * Update CHANGELOG.md Co-authored-by: vhirtham * remove python matrix from asdf schema tests CI run Co-authored-by: vhirtham --- .github/workflows/pytest_asdf.yml | 2 +- CHANGELOG.md | 20 +++++++++++-------- doc/schemas/aws.rst | 10 ++++++++++ doc/standard.rst | 1 + .../aws/process/gas_component-1.0.0.yaml | 2 +- .../shielding_gas_for_procedure-1.0.0.yaml | 2 +- .../aws/process/shielding_gas_type-1.0.0.yaml | 2 +- 7 files changed, 27 insertions(+), 12 deletions(-) create mode 100644 doc/schemas/aws.rst diff --git a/.github/workflows/pytest_asdf.yml b/.github/workflows/pytest_asdf.yml index 08d920717..79218e85f 100644 --- a/.github/workflows/pytest_asdf.yml +++ b/.github/workflows/pytest_asdf.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-18.04] - py: ['3.8', '3.9'] + py: ['3.8'] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 53dd241f8..97bafdab8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Release Notes -## 0.3.0 (unreleased) +## 0.3.0 (12.03.2021) ### added @@ -11,8 +11,8 @@ - add `plot` function to `SpatialData`[[#251]](https://github.com/BAMWelDX/weldx/pull/251) - add `plot` function to visualize `LocalCoordinateSystem` and `CoordinateSystemManager` instances in 3d space [[#231]](https://github.com/BAMWelDX/weldx/pull/231) -- add `weldx.welding.groove.iso_9692_1.IsoBaseGroove.cross_sect_area` property to compute - cross sectional area between the workpieces [[#248]](https://github.com/BAMWelDX/weldx/pull/248). +- add `weldx.welding.groove.iso_9692_1.IsoBaseGroove.cross_sect_area` property to compute cross sectional area between + the workpieces [[#248]](https://github.com/BAMWelDX/weldx/pull/248). - add `weldx.welding.util.compute_welding_speed` function [[#248]](https://github.com/BAMWelDX/weldx/pull/248). ### ASDF @@ -39,6 +39,7 @@ - Simplify tutorial code and enhance plots by using newly implemented plot functions [[#231]](https://github.com/BAMWelDX/weldx/pull/231) [[#251]](https://github.com/BAMWelDX/weldx/pull/251) +- add AWS shielding gas descriptions to documentation [[#270]](https://github.com/BAMWelDX/weldx/pull/270) ### changes @@ -56,11 +57,12 @@ - The graph of a `CoordinateSystemManager` is now plotted with `plot_graph` instead of `plot`. [[#231]](https://github.com/BAMWelDX/weldx/pull/231) - add custom `wx_shape` validation for `TimeSeries` and `Quantity` [[#256]](https://github.com/BAMWelDX/weldx/pull/256) -- refactor the `transformations` and `visualization` module into smaller files [[#247]](https://github.com/BAMWelDX/weldx/pull/247) +- refactor the `transformations` and `visualization` module into smaller + files [[#247]](https://github.com/BAMWelDX/weldx/pull/247) - refactor `weldx.utility` into `weldx.util` [[#247]](https://github.com/BAMWelDX/weldx/pull/247) - refactor `weldx.asdf.utils` into `weldx.asdf.util` [[#247]](https://github.com/BAMWelDX/weldx/pull/247) -- it is now allowed to merge a time-dependent `timedelta` subsystem into another `CSM` instance if the parent instance has set an explicit reference time [[#268]](https://github.com/BAMWelDX/weldx/pull/268) - +- it is now allowed to merge a time-dependent `timedelta` subsystem into another `CSM` instance if the parent instance + has set an explicit reference time [[#268]](https://github.com/BAMWelDX/weldx/pull/268) ### fixes @@ -74,7 +76,8 @@ - update some documentation formatting and links [[#247]](https://github.com/BAMWelDX/weldx/pull/247) - fix `wx_shape` validation for scalar `Quantity` and `TimeSeries` objects [[#256]](https://github.com/BAMWelDX/weldx/pull/256) -- fix a case where `CSM.time_union()` would return with mixed `DateTimeIndex` and `TimeDeltaIndex` types [[#268]](https://github.com/BAMWelDX/weldx/pull/268) +- fix a case where `CSM.time_union()` would return with mixed `DateTimeIndex` and `TimeDeltaIndex` + types [[#268]](https://github.com/BAMWelDX/weldx/pull/268) ### dependencies @@ -82,7 +85,8 @@ - Add [k3d](https://github.com/K3D-tools/K3D-jupyter) as new dependency - restrict `scipy<1.6` pending [ASDF #916](https://github.com/asdf-format/asdf/issues/916) [[#224]](https://github.com/BAMWelDX/weldx/pull/224) -- set minimum Python version to 3.8 [[#229]](https://github.com/BAMWelDX/weldx/pull/229)[[#255]](https://github.com/BAMWelDX/weldx/pull/255) +- set minimum Python version to + 3.8 [[#229]](https://github.com/BAMWelDX/weldx/pull/229)[[#255]](https://github.com/BAMWelDX/weldx/pull/255) - only import some packages upon first use [[#247]](https://github.com/BAMWelDX/weldx/pull/247) - Add [meshio](https://pypi.org/project/meshio/) as new dependency [#265](https://github.com/BAMWelDX/weldx/pull/265) diff --git a/doc/schemas/aws.rst b/doc/schemas/aws.rst new file mode 100644 index 000000000..71dee7de1 --- /dev/null +++ b/doc/schemas/aws.rst @@ -0,0 +1,10 @@ +AWS +=== + +The ``AWS`` directory contains example implementations for shielding gas descriptions following NISTIR 7107. + +.. asdf-autoschemas:: + + aws/process/shielding_gas_for_procedure-1.0.0 + aws/process/shielding_gas_type-1.0.0 + aws/process/gas_component-1.0.0 diff --git a/doc/standard.rst b/doc/standard.rst index 7aa85a498..191970aa1 100644 --- a/doc/standard.rst +++ b/doc/standard.rst @@ -15,6 +15,7 @@ The WelDX standard consists of the following schema definitions: schemas/process.rst schemas/time.rst schemas/groove.rst + schemas/aws.rst schemas/datamodels.rst ASDF Extension diff --git a/weldx/asdf/schemas/weldx.bam.de/weldx/aws/process/gas_component-1.0.0.yaml b/weldx/asdf/schemas/weldx.bam.de/weldx/aws/process/gas_component-1.0.0.yaml index f0d681b90..9db709e20 100644 --- a/weldx/asdf/schemas/weldx.bam.de/weldx/aws/process/gas_component-1.0.0.yaml +++ b/weldx/asdf/schemas/weldx.bam.de/weldx/aws/process/gas_component-1.0.0.yaml @@ -5,7 +5,7 @@ id: "http://weldx.bam.de/schemas/weldx/aws/process/gas_component-1.0.0" tag: "tag:weldx.bam.de:weldx/aws/process/gas_component-1.0.0" title: | - + Shielding gas component description: | A single gas element of a mixture and its percentage of the mixture by weight. type: object diff --git a/weldx/asdf/schemas/weldx.bam.de/weldx/aws/process/shielding_gas_for_procedure-1.0.0.yaml b/weldx/asdf/schemas/weldx.bam.de/weldx/aws/process/shielding_gas_for_procedure-1.0.0.yaml index e2d640902..76ffb611a 100644 --- a/weldx/asdf/schemas/weldx.bam.de/weldx/aws/process/shielding_gas_for_procedure-1.0.0.yaml +++ b/weldx/asdf/schemas/weldx.bam.de/weldx/aws/process/shielding_gas_for_procedure-1.0.0.yaml @@ -5,7 +5,7 @@ id: "http://weldx.bam.de/schemas/weldx/aws/process/shielding_gas_for_procedure-1 tag: "tag:weldx.bam.de:weldx/aws/process/shielding_gas_for_procedure-1.0.0" title: | - + GMAW process shielding gas description: | Description of applicable gas composition and flowrates, including torch gas shielding, backing gas, and trailing gas. type: object diff --git a/weldx/asdf/schemas/weldx.bam.de/weldx/aws/process/shielding_gas_type-1.0.0.yaml b/weldx/asdf/schemas/weldx.bam.de/weldx/aws/process/shielding_gas_type-1.0.0.yaml index 9fa7fbc4f..6078928c2 100644 --- a/weldx/asdf/schemas/weldx.bam.de/weldx/aws/process/shielding_gas_type-1.0.0.yaml +++ b/weldx/asdf/schemas/weldx.bam.de/weldx/aws/process/shielding_gas_type-1.0.0.yaml @@ -5,7 +5,7 @@ id: "http://weldx.bam.de/schemas/weldx/aws/process/shielding_gas_type-1.0.0" tag: "tag:weldx.bam.de:weldx/aws/process/shielding_gas_type-1.0.0" title: | - + GMAW shielding gas description: | Description of a gas or gas mixture used for shielding in arc welding. type: object