Skip to content

Fix TypeError in test_ma.py by casting patient[0] to string#29

Open
SaiKrishnaChaitanya24 wants to merge 3 commits intoCBICA:masterfrom
SaiKrishnaChaitanya24:master
Open

Fix TypeError in test_ma.py by casting patient[0] to string#29
SaiKrishnaChaitanya24 wants to merge 3 commits intoCBICA:masterfrom
SaiKrishnaChaitanya24:master

Conversation

@SaiKrishnaChaitanya24
Copy link

This PR fixes a bug where patient[0] was an int, causing a TypeError when used with os.path.join and string concatenation. Casting to str resolves the issue.

Fix: Cast patient[0] to str to prevent TypeError during path joining
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.

1 participant