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

Update to QUDT v2.1.4 #2

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open

Update to QUDT v2.1.4 #2

wants to merge 18 commits into from

Conversation

gnmerritt
Copy link
Contributor

Hi - thanks for the great QUDT bindings!

We're using them with a newer version of the QUDT ontology, and so here's a PR with our changes. There are currently a number of disabled unit tests for units that are defined outside QUDT (micromolar, etc) that I unfortunately don't have the hours to put against fixing up. That said, I think this branch is a good starting point for the ontology version upgrade so I wanted to at least start a discussion about potentially merging it.

Note: this PR also updates frozendict to make it safe for Python 3.9+ -an old import pattern is deprecated and being discontinued so I believe the package as-is will be broken.

@eigendude
Copy link
Owner

eigendude commented May 28, 2021

@gnmerritt Sorry I missed this last year. I'm surprised someone found the library! If you built anything from it I'd love to see.

@eigendude eigendude changed the base branch from master to main September 22, 2021 23:49
@eigendude
Copy link
Owner

eigendude commented Sep 23, 2021

@gnmerritt I added CI, which includes isort and black, so there will be some git conflicts. These can be dealt with by attempting a rebase, and when the conflict occurs, check out the original commit in this branch via git checkout <hash> -- quidt test, then run black and isort, then add, commit and continue the rebase. The effect is exactly this code here but applied on the stylized codebase.

@@ -5,7 +5,8 @@
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"skos": "http://www.w3.org/2004/02/skos/core#",
"xsd": "http://www.w3.org/2001/XMLSchema#"
"xsd": "http://www.w3.org/2001/XMLSchema#",
"kind": "http://qudt.org/vocab/quantitykind/"
Copy link
Owner

Choose a reason for hiding this comment

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

Small request, can you keep lists in alphabetical order?

@eigendude
Copy link
Owner

I noticed a list that could be alphabetized. But aside from that everything here looks good. @gnmerritt are you willing to rebase?

@gnmerritt
Copy link
Contributor Author

Yeah I'll be able to get to it after the holidays

@eigendude
Copy link
Owner

@gnmerritt I fixed the rebase conflicts on my end so there's nothing blocking this PR. What's its current state?

@gnmerritt
Copy link
Contributor Author

ahh sorry, didn't realize I had the PR up from my main branch. you're welcome to merge my changes if you want, but I don't have any work time in the near future to help with that effort unfortunately

@eigendude
Copy link
Owner

OK, no worries! Do you want to close this to avoid the noise here? Feel free to re-open if life brings you bountiful time.

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