Skip to content

Data extraction#329

Open
Brehana-Naidu wants to merge 6 commits intomainfrom
data_extraction
Open

Data extraction#329
Brehana-Naidu wants to merge 6 commits intomainfrom
data_extraction

Conversation

@Brehana-Naidu
Copy link
Copy Markdown
Collaborator

Pull Request Summary

Closes #219

This update refactors how boneset data is accessed and improves code generalization in preparation for supporting multiple bonesets.

Changes
Refactored functions that previously relied on the BONESET_JSON_URL constant.
These functions no longer fetch data from a single JSON file.
Instead, they now iterate through all JSON files within the boneset/ directory in the database, allowing support for multiple bonesets.
Reviewed and updated comments throughout the codebase:
Removed references to the pelvis boneset where the functionality is not pelvis-specific.
Reworded comments to reflect generalized behavior applicable to all bonesets.
Preserved comments that document pelvis-specific logic, edge cases, or exceptions.

Copy link
Copy Markdown
Collaborator

@leandrumartin leandrumartin left a comment

Choose a reason for hiding this comment

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

I'm a little confused by this PR. The code changes don't seem to line up with what you've described in the summary, and they don't really address the problem described in the issue. I'm having trouble understanding the reasons for the changes made here.

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.

Refactor in preparation for adding new bone sets

3 participants