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

AttributeError: module 'tmap' has no attribute 'Minhash' #24

Open
UnixJunkie opened this issue May 2, 2024 · 4 comments
Open

AttributeError: module 'tmap' has no attribute 'Minhash' #24

UnixJunkie opened this issue May 2, 2024 · 4 comments

Comments

@UnixJunkie
Copy link

Traceback (most recent call last):
  File "/home/berenger/src/map4/map4/map4.py", line 182, in <module>
    main()
  File "/home/berenger/src/map4/map4/map4.py", line 137, in main
    calculator = MAP4Calculator(args.dimensions, args.radius, args.is_counted, args.is_folded)
  File "/home/berenger/src/map4/map4/map4.py", line 33, in __init__
    self.encoder = tm.Minhash(dimensions)
AttributeError: module 'tmap' has no attribute 'Minhash'
@UnixJunkie
Copy link
Author

Which version of tmap are we supposed to use?

@UnixJunkie
Copy link
Author

Can't this command:

pip install git+https://github.com/reymond-group/[email protected]

be made to pull all the required dependencies at an adequate version?

@UnixJunkie
Copy link
Author

if MinHash is so important to map4, it should probably be included and not be provided by an external dependency

@LucaCappelletti94
Copy link

Did you end up finding how to get MinHash out of tmap?

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

No branches or pull requests

2 participants