Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

227 add substation section based on ied name convention #231

Merged
merged 3 commits into from
Apr 26, 2023

Conversation

Stef3st
Copy link

@Stef3st Stef3st commented Apr 18, 2023

closes #227

@Stef3st Stef3st self-assigned this Apr 18, 2023
@Stef3st Stef3st linked an issue Apr 18, 2023 that may be closed by this pull request
@Stef3st Stef3st requested a review from pascalwilbrink April 18, 2023 08:47
Copy link
Member

@pascalwilbrink pascalwilbrink left a comment

Choose a reason for hiding this comment

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

LGTM!

The appendChilds are not my taste, but that has been discuseed (also with @JakobVogelsang)


//return list of names after filtering out the duplicate elements
return elementNames.filter(
(value, index) => value && elementNames.indexOf(<string>value) === index
Copy link
Member

Choose a reason for hiding this comment

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

I think line 346 is obsolete, since you're already checking the value on line 350.

@Stef3st Stef3st merged commit 45b0a6f into main Apr 26, 2023
@Stef3st Stef3st deleted the 227-add-substation-section-based-on-ied-name-convention branch April 26, 2023 07:12
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.

Add substation section based on IED name convention
2 participants