-
Notifications
You must be signed in to change notification settings - Fork 12
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
UX: Extra entries in curie_map
of written TSV
#514
Comments
|
For (2), right--I forgot to do Do we really want the default behavior to be, that when no My preference would be that |
i. I think you are right. Can you update the OC to request that, if the massive OBO context was used to infer prefixes, we should automatically call
ii. If this is true is a bug, add as action item to OC.
iii. This must already be the case.. |
(i) Done! (ii) Done! (iii) It probably is, but let me rephrase: Should correctly instantiate |
Overview
When I write SSSOM to TSV, I'd like it to only include entries in
curie_map
where the prefixes are actually used in 1 or more places in the mapping set. However, extra entries are appearing.Case 1: When passing a
Converter
andmetadata
I expected 4 entries, but got 10.
I also mentioned this in: #513. I don't necessarily mind these extra entries in there, as they are some popular and relevant namespaces. The extra ones I got were:
owl
,sssom
, andoboInOwl
,rdf
,rdfs
, andsemapv
. I'd suggest that we could possibly add some parameterization for this. Stick with the default of either including these important namespaces or not, and then a parameter to allow for the opposite. Also, IDK if this is really asssom-py
issue or acuries
issue.Case 2: When not passing
metadata
, but noConverter
I expected 4 entries, but got 1,547.
Possible solutions
Nico wrote:
Additional details
FYI:
metadata
: icd11.sssom-metadata.yml.zipResults, based on various means:
Converter
and passing that toMappingSetDataFrame
. ordo-icd11.sssom - with converter.tsv.zipMappingSetDataFrame
passing in mymetadata
but noConverter
. ordo-icd11.sssom - no converter.tsv.zipThe text was updated successfully, but these errors were encountered: