Skip to content

1492 20 olfactometerconfig#1499

Merged
dbirman merged 17 commits into
devfrom
1492-20-olfactometerconfig
Oct 20, 2025
Merged

1492 20 olfactometerconfig#1499
dbirman merged 17 commits into
devfrom
1492-20-olfactometerconfig

Conversation

@dbirman

@dbirman dbirman commented Jul 8, 2025

Copy link
Copy Markdown
Member

PR moves OlfactometerConfig from stimulus.py to configs.py, leaving just the stimulus_name field in the stimulus classes.

@dbirman dbirman linked an issue Jul 8, 2025 that may be closed by this pull request
@dbirman dbirman requested a review from saskiad July 8, 2025 15:58

@saskiad saskiad left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Don't you need to add OlfactometerConfig to the Acquisition configurations list?

@dbirman

dbirman commented Jul 9, 2025

Copy link
Copy Markdown
Member Author

Don't you need to add OlfactometerConfig to the Acquisition configurations list?

Yes good catch

@dbirman

dbirman commented Jul 9, 2025

Copy link
Copy Markdown
Member Author
  • Add a test that checks that all subclasses of DeviceConfig are options in the configurations Union

@dbirman dbirman requested a review from saskiad July 10, 2025 01:49
Comment thread src/aind_data_schema/components/configs.py Outdated
Comment thread src/aind_data_schema/components/configs.py

@saskiad saskiad left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think it looks good - two things that might be worth thinking about but aren't deal breakers.

@saskiad

saskiad commented Jul 18, 2025

Copy link
Copy Markdown
Collaborator

@dbirman did this get merged? Do we want it merged?

@dbirman

dbirman commented Aug 6, 2025

Copy link
Copy Markdown
Member Author
  • Deprecate old class to avoid making a breaking change
  • Add new class to Union[]

@dbirman dbirman enabled auto-merge October 20, 2025 16:43
@dbirman dbirman added this pull request to the merge queue Oct 20, 2025
Merged via the queue into dev with commit f0cde22 Oct 20, 2025
5 checks passed
@dbirman dbirman deleted the 1492-20-olfactometerconfig branch October 20, 2025 16:51
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.0] OlfactometerConfig

2 participants