Skip to content
Snippets Groups Projects

aasx: Allow writing individual objects

Merged Michael Thies requested to merge feature/aasx_write_individual_objects into master
All threads resolved!

This MR adds the following functionality to AASXWriter:

  • Write individual Identifiable objects (including multiple AAS and stand-alone Submodels, Assets, ConceptDescriptions) to a single AASX part: write_aas_objects()
  • Control splitting of submodels when writing an AAS to an AASX package according to the part name conventions defined in DotAAS with write_aas(): new parameter submodel_split_parts

This fixes #94 (closed)

Additionally, I've added a new method get_identifier() to class Reference, which I used in the new implementation of the AASXWriter.write_aas() method.

Edited by Michael Thies

Merge request reports

Merge train pipeline #349760 passed

Merge train pipeline passed for 879a6661

Test coverage 89.00% (-1.00%) from 1 job
Approved by

Merged by Michael ThiesMichael Thies 4 years ago (Oct 28, 2020 4:12pm UTC)

Merge details

  • Changes merged into master with 3781cf04.
  • Deleted the source branch.
  • Auto-merge enabled

Pipeline #349761 passed

Pipeline passed for 3781cf04 on master

Test coverage 89.00% (-1.00%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Michael Thies resolved all threads

    resolved all threads

  • Michael Thies added 1 commit

    added 1 commit

    • 9fc8ed5a - Fix exception message and use advanced f-string syntax

    Compare with previous version

  • Leon Mauritz Möller approved this merge request

    approved this merge request

  • Michael Thies started a merge train

    started a merge train

  • merged

  • Michael Thies mentioned in commit 3781cf04

    mentioned in commit 3781cf04

  • Please register or sign in to reply
    Loading