Skip to content

feat: make ground electrode location optional #94#151

Open
Manimaran-tech wants to merge 1 commit intoINCF:mainfrom
Manimaran-tech:fix-issue-94-optional-ground
Open

feat: make ground electrode location optional #94#151
Manimaran-tech wants to merge 1 commit intoINCF:mainfrom
Manimaran-tech:fix-issue-94-optional-ground

Conversation

@Manimaran-tech
Copy link

Fixes #94

This PR introduces a change to the acquisition schema to make the "location of the ground electrode" question optional.

Changes:

Added a new ground_electrode_exists item ("Was a ground electrode used?").
Updated
acquisition_schema.jsonld
to include this new item.
Modified the visibility logic for location_ground: it now depends on ground_electrode_exists == 1 instead of directly on online_reference_exists. This ensures users are first asked if a ground electrode was used before being asked for its location.
Verification:

Verified that the new item appears in the schema order.
Verified that the visibility logic mirrors the behavior of the reference electrode questions.

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.

Ground electrode should be optional

1 participant