Skip to content

Conversation

JonathanShor
Copy link
Contributor

_build_rdms expects this to be the actual fold assignment list, not the descriptor name. Converted it to an NDArray to match the type hint in build_rdm.py.

_build_rdms expects this to be the actual fold assignment list, not the descriptor name.
@JonathanShor
Copy link
Contributor Author

Hmm, I see that maybe _build_rdms is expecting the cv_descriptor, even tho the type hint wants an array. Should the type hint be for str instead?

@JasperVanDenBosch
Copy link
Contributor

I think the intention is for this to be a string. I.e. a name of one of the existing descriptors. The type annotation is wrong, it should be Optional[str]

@JasperVanDenBosch
Copy link
Contributor

Also I can't find anywhere where that RDMs attribute is used, so (if any) the purpose would just be provenance I suppose.

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

Successfully merging this pull request may close these issues.

2 participants