Skip to content

Conversation

@lehendo
Copy link
Contributor

@lehendo lehendo commented Jan 15, 2026

Author: Arjun Chatterjee ([email protected])
Contribution Type: Bug Fix

Fix TUEV dataset metadata permissions for shared cluster storage.

Modified prepare_metadata() to write metadata CSVs to ~/.cache/pyhealth/tuev/
as fallback when data directory is not writable. Updated init() to check
both shared and cache locations for CSVs. This resolves PermissionError when
users lack write access to shared data directories on clusters.

Tested on SunLab cluster with both tuev_conventional_conformal.py and
tuev_covariate_shift_conformal.py - processed 370 patients (113,353 samples)
successfully without permission errors.

@lehendo lehendo changed the title [Conformal EEG] Fix TUEV dataset metadata permissions for shared cluster storage [Conformal EEG] Fix TUEV dataset metadata permissions for shared cluster storage - main Jan 15, 2026
Copy link
Collaborator

@jhnwu3 jhnwu3 left a comment

Choose a reason for hiding this comment

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

Thanks!

@jhnwu3 jhnwu3 merged commit 0f22950 into sunlabuiuc:master Jan 19, 2026
1 check passed
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