monarch-initiative / pyphetools

Python Phenopacket Tools
https://monarch-initiative.github.io/pyphetools/
MIT License
9 stars 1 forks source link

No such file or directory -- thresholds.tsv #76

Closed pnrobinson closed 5 months ago

pnrobinson commented 5 months ago

[Errno 2] No such file or directory: '/Users/xxx/xxx/phenopacket-store/ps24venv/lib/python3.8/site-packages/pyphetools/creation/data/thresholds.tsv'

This file: https://github.com/monarch-initiative/pyphetools/blob/main/src/pyphetools/creation/data/thresholds.tsv is not getting transmitted to phenopacket-store/ps24venv/lib/python3.8/site-packages/pyphetools/creation/ (Note -- this is the latest version 0.9.32).

pnrobinson commented 5 months ago

I am trying to use this to be able to write the following in notebooks

# plasma lactate (normal: 4.5-19.8mg/dL)
lactate = Thresholder.lactate_blood(unit="mg/dL", low_thresh=4.5, high_thresh=19.8)
lactateMapper = ThresholdedColumnMapper(thresholder=lactate,
                                       column_name="plasma lactate (normal: 4.5-19.8mg/dL)")
column_mapper_list.append(lactateMapper)
lactateMapper.preview_column(dft)
pnrobinson commented 5 months ago

fixed