Open joeflack4 opened 1 month ago
@matentzn FYI if you have any ideas. Lemme know if you want me to move this issue to sssom-py
.
No idea, but this is indeed weird. If you can create a small reproducible example this merits a sssom-py issue! I guess this is the most likely line for the origin of this https://github.com/mapping-commons/sssom-py/blob/6e3961f6588117c93842a8b82d94cff772fcbe72/src/sssom/writers.py#L64C4-L64C45
Good catch
I don't generally mind giving you a reproducible example. Given that this is a low priority issue, rather than going with a small example, I'll go w/ the easiest way for me; the means to easily reproduce what's exactly happening for this instance:
Command:
sssom parse omim.json -I obographs-json -m metadata.sssom.yml -o omim.sssom.tsv
Inputs: Downloadable here: https://drive.google.com/drive/folders/15ZGMXoroNVYojOjxY_vIXWLURtlcmW71
Overview
In
omim.sssom.tsv
, there is this weird extra line break before the closing single quotation mark, appearing as# '
. IDK what's causing it.omim.sssom.tsv
subsection:For reference, here's the corresponding subsection of
metadata.sssom.yml
: https://github.com/monarch-initiative/omim/blob/main/data/metadata.sssom.yml#L1-L7