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

Skip to content

Conversation

@JuliaSprenger
Copy link
Contributor

Fixes #289 by removing checks for duplicate section names. I could not find an old odML version, in which it was possible to generate sibling sections having the same name, so this check might not be too important. Please tell me if this is wrong, so I can find another solution for #289.

@JuliaSprenger
Copy link
Contributor Author

The test for this are still failing as I did not remove the corresponding tests yet. The tests are directly manipulating the xml and don't work on the odML structure, and don't tell if this is actually a realistic case.

mpsonntag added a commit to mpsonntag/python-odml that referenced this pull request Nov 16, 2018
Closes G-Node#310

Previously all same named odml.Sections within a
document got indexed upon conversion. With these
changes, only same named odml.Sections that reside
on the same level are indexed.
@mpsonntag
Copy link
Contributor

mpsonntag commented Nov 16, 2018

Renaming of all same named sections within a document does not make sense, but renaming of same name on the same level should be kept. Therefore this PR is closed in favour of #312.

@mpsonntag mpsonntag closed this Nov 16, 2018
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