Skip to content

data_classes file for data lookup in different files#307

Draft
LucasZimm wants to merge 12 commits into
mainfrom
164-parsing-various-file-formats
Draft

data_classes file for data lookup in different files#307
LucasZimm wants to merge 12 commits into
mainfrom
164-parsing-various-file-formats

Conversation

@LucasZimm

@LucasZimm LucasZimm commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Metadata:

  • added file for defining and creating rules for data extraction

Small Overview:

  • Resource-Defining
    • for defining your datas file/resource type
  • Object Mapping/Building
    • for building objects from definition

It should work like this obj = ObjectBuilder(mapping).build(resources) (see issue #164)

closes #164

@LucasZimm
LucasZimm requested a review from JosePizarro3 June 15, 2026 10:08
@LucasZimm LucasZimm self-assigned this Jun 15, 2026
@LucasZimm LucasZimm linked an issue Jun 15, 2026 that may be closed by this pull request
@LucasZimm

Copy link
Copy Markdown
Collaborator Author

Not sure where we want this, so i made a new file.

LucasZimm and others added 4 commits June 22, 2026 14:19
…ventory (#306)

* added relationship logic for existing objects

* small fix

* better visibility

* fixed tests
* Moved EXPERIMENTAL_STEP subtypes to their own module, activities.py

* Deleted annotations_state from EXPERIMENTAL_STEP

* Deleted annotations state from Person

* Fixed imported classes in masterdata_sync

Fix OBJECT data type

Moved OPERATOR to ExperimentalStep

* Adding ordinal to PropertyTypeDef and to_openbis methods

Defined ordinal=6 for OPERATOR for ordering in EXPERIMENTAL_STEP and subclasses

* Fix tests

* Fix pre-commit

* Fix single quotes in info messages in entities.py
* Move creep test classes to its own module

Added MechanicalTest class and inheritance to ExperimentalStep

Added inheritance in CreepTest on MechanicalTest

Applied formatting

* Define inheritance for CreepTest from MechanicalTest

* Moved object types and vocabularies to its own subfolder

Clean up object definitions

Added inline questions # ?

* Added inline_comments.py script

* Final changes

* Fix precommit

* Added Markus Schilling as owner of datamodel/creep_test subfolder

* Fix code length to max 50 in vocabulary terms

Fix [] broken property_label in two properties

* Added validation max 50 characters in VocabularyTerm

* Added max 50 chars object type codes

* Added __init__.py in creep_test/ after rebasing

* Moved MechanicalTest to activities.py

---------

Co-authored-by: jpizarro <jose.pizarro-blanco@bam.de>
Co-authored-by: Jose M. Pizarro <112697669+JosePizarro3@users.noreply.github.com>
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 28786528476

Coverage remained the same at 0.0%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 0
Covered Lines: 0
Line Coverage: NaN%
Coverage Strength: 0.0 hits per line

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parsing various file formats

4 participants