Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@VisLab
Copy link
Member

@VisLab VisLab commented Jul 31, 2025

No description provided.

@VisLab VisLab requested a review from Copilot July 31, 2025 15:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Updates the Definition class's createDefinition method to properly propagate warnings from the underlying parsing operation. The PR fixes an issue where warnings generated during HED string parsing were not being returned to the caller.

  • Fixed warning propagation in Definition.createDefinition method
  • Corrected spelling errors in code comments
  • Added comprehensive test coverage for definition creation and management

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/parser/definitionManager.js Fixed warning propagation by merging warnings from parsing and definition creation
src/parser/parser.js Corrected spelling error in comment ("assemploy" → "assemploy")
tests/otherTests/definitionManager.spec.js Added comprehensive test suite for Definition and DefinitionManager classes

@VisLab VisLab added bug Something isn't working tests Issues related to testcases javascript Pull requests that update Javascript code labels Jul 31, 2025
@VisLab VisLab merged commit b6410bf into hed-standard:main Jul 31, 2025
10 checks passed
@happy5214 happy5214 added this to the 4.1.0 milestone Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working javascript Pull requests that update Javascript code tests Issues related to testcases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants