Skip to content

fix: filter out sample questionary fields with skip_metadata natural key - #746

Merged
jekabs-karklins merged 1 commit into
developfrom
SWAP-5915-connector-filter-out-sample-questionary-fields-wi
Oct 30, 2026
Merged

jekabs-karklins merged 1 commit into
developfrom
SWAP-5915-connector-filter-out-sample-questionary-fields-wi

Conversation

@jekabs-karklins

Copy link
Copy Markdown
Contributor

Description

Sample questionary fields whose natural key starts with skip_metadata are no longer sent to SciCat as sample characteristics.

Changes

  • Filter out skip_metadata* fields when building sample characteristics
  • Add naturalKey to the UO experiment sample question type
  • Add unit test for getCreateScicatSampleDto

@jekabs-karklins jekabs-karklins changed the title SWAP-5915: Filter out sample questionary fields with skip_metadata natural key fix: filter out sample questionary fields with skip_metadata natural key Oct 30, 2026
@jekabs-karklins
jekabs-karklins requested review from Junjiequan and nitrosx and removed request for Junjiequan October 30, 2026 11:17
@jekabs-karklins
jekabs-karklins merged commit 1c9d84a into develop Oct 30, 2026
9 checks passed
@jekabs-karklins
jekabs-karklins deleted the SWAP-5915-connector-filter-out-sample-questionary-fields-wi branch October 30, 2026 12:01

@nitrosx nitrosx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please add logging.
In the logs, I would like to see which one is passed along in SciCat and which one is skipped

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.

2 participants