Skip to content

Fix SequenceProcessor#691

Merged
jhnwu3 merged 3 commits intosunlabuiuc:masterfrom
Logiquo:fix/sequence_processor
Dec 7, 2025
Merged

Fix SequenceProcessor#691
jhnwu3 merged 3 commits intosunlabuiuc:masterfrom
Logiquo:fix/sequence_processor

Conversation

@Logiquo
Copy link
Copy Markdown
Collaborator

@Logiquo Logiquo commented Dec 7, 2025

Contributor: Yongda Fan (yongdaf2@illinois.edu)

Contribution Type: Processor

Description
Fix incorrect behaviour of SequenceProcessor that fit the schema in the process call. This is a pre-req for #687

Files to Review
pyhealth/processors/sequence_processor.py

Copilot AI review requested due to automatic review settings December 7, 2025 15:43
@Logiquo Logiquo requested review from jhnwu3 and removed request for Copilot December 7, 2025 15:44
@Logiquo Logiquo added bug Something isn't working infra Infrastructure: data loading, caching, pipelines component: processor Contribute a new processor to PyHealth labels Dec 7, 2025
Copy link
Copy Markdown
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.

That's a really good catch. I think in the future, it might be worth making fit() a base unimplemented function of BaseProcessor just to enforce some things (ofc make it optional). I never even noticed.

@jhnwu3 jhnwu3 merged commit a7ee4a6 into sunlabuiuc:master Dec 7, 2025
1 check passed
@Logiquo Logiquo deleted the fix/sequence_processor branch December 8, 2025 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working component: processor Contribute a new processor to PyHealth infra Infrastructure: data loading, caching, pipelines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants