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

Issue manager refactor #5

Merged
merged 4 commits into from
May 25, 2022

Conversation

nellh
Copy link

@nellh nellh commented May 25, 2022

@rwblair Here's some of what I'd been playing around with merged with your entities branch for issues. Let me know what you think.

This attempts to keep the old issue types around as close as possible, creating a manager class for it with an add method that accepts some other variants of file data (such as BIDSFile objects from the context with or without additional fields to populate the issue). It might be cleaner to just require the extra fields when passed in but still support the raw structure from the existing validator.

One other change I might make is making some of the issue fields more optional but I should figure out which ones were optional in the existing issues output better first.

Also adds some type fixes and no-check annotations so this now runs without --no-check for both tests and validation.

@rwblair rwblair merged commit 3d8042f into rwblair:schema/entitiesParse May 25, 2022
rwblair pushed a commit that referenced this pull request Nov 7, 2024
chore: Prepare for publication
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