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

dict[str, numpy.ndarray] can not be used as motif input to fimo. #32

Open
SeppeDeWinter opened this issue Jan 31, 2025 · 0 comments
Open

Comments

@SeppeDeWinter
Copy link

Dear Jacob

The documentation of Fimo states that dict[str, numpy.ndarray] can be used as input for the motif parameter in fimo.

Currently, this does not work because internally the list of motifs are assumed to be torch.Tensors and are converted to numpy.ndarrays.
This results in an attribute error when dict[str, numpy.ndarray] is used.

Please see this PR: #31 which fixes the issue.

All the best,

Seppe

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

1 participant