monarch-initiative / pyphetools

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

module 'pyphetools.creation' has no attribute 'create_hpoa_from_phenopacketsIndividual' #91

Closed pnrobinson closed 2 months ago

pnrobinson commented 3 months ago

Using the latest version of pyphetools leads to this error

(...)
from pyphetools.creation import *
(...)
AttributeError: module 'pyphetools.creation' has no attribute 'create_hpoa_from_phenopacketsIndividual'

The name of the function is simply create_hpoa_from_phenopackets, and searching for create_hpoa_from_phenopacketsIndividualin the python files does not find anything. However, we do find this

grep -R 'create_hpoa_from_phenopacketsIndividual' src
Binary file src/pyphetools/creation/__pycache__/__init__.cpython-38.pyc matches
Binary file src/pyphetools/creation/__pycache__/__init__.cpython-311.pyc matches

This must be coming from here https://github.com/monarch-initiative/pyphetools/blob/allinone/src/pyphetools/creation/import_template.py but I cannot figure out what the issue is.

pnrobinson commented 2 months ago

fixed