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

Strings and equality for FlatGFA Python objects #183

Merged
merged 8 commits into from
May 16, 2024
Merged

Conversation

sampsyo
Copy link
Collaborator

@sampsyo sampsyo commented May 16, 2024

This takes care of a few minor things from #179:

  • Name of paths are now str, not bytes.
  • All objects can be converted to GFA format with naught more than a str(obj).
  • All these objects implement __eq__ and __hash__, which is nice for Python citizenship.

@sampsyo sampsyo mentioned this pull request May 16, 2024
10 tasks
I don't know why the generated CI script was using the other way... this
seems error prone in the sense that it could silently install the
published version from PyPI, which is *never* what we want. So at least
this will fail more loudly?
@sampsyo sampsyo merged commit 8cfcdbc into main May 16, 2024
12 checks passed
@sampsyo sampsyo deleted the flatgfa-py-str branch May 16, 2024 21:46
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