Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump hail search and vlm hail & python versions #4611

Closed
wants to merge 2 commits into from

Conversation

bpblanken
Copy link
Collaborator

No description provided.

@bpblanken bpblanken changed the title chore: bump hail search and vlm python versions chore: bump hail search and vlm hail & python versions Jan 23, 2025


class SampleType(str, Enum):
class SampleType(StrEnum):
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There was a behavior change between 3.9 and 3.11 here:

in 3.9:

In [5]: str(SampleType.WGS)
Out[5]: 'SampleType.WGS'

In [6]: f'/{SampleType.WGS}/'
Out[6]: '/WGS/'

in 3.11:

In [2]: f'/{SampleType.WGS}/'
Out[2]: '/SampleType.WGS/'

In [3]: str(SampleType.WGS)
Out[3]: 'SampleType.WGS'

using the new StrEnum that was released with 3.11 resolves. the issue.

@bpblanken bpblanken closed this Jan 23, 2025
@bpblanken bpblanken deleted the benb/bump_hail_search_and_vlm_python_versions branch January 23, 2025 19:32
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