Skip to content

[query] Remove unsupported LMM code#11765

Merged
danking merged 2 commits intohail-is:mainfrom
tpoterba:no-more-lmm
Apr 14, 2022
Merged

[query] Remove unsupported LMM code#11765
danking merged 2 commits intohail-is:mainfrom
tpoterba:no-more-lmm

Conversation

@tpoterba
Copy link
Contributor

CHANGELOG: Deprecated and removed linear mixed model functionality.

CHANGELOG: Deprecated and removed linear mixed model functionality.
assert n > m
p = BlockMatrix.read(p_path)
return model, p
raise NotImplementedError("linear_mixed_modelv is no longer implemented/supported as of Hail 0.2.94")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
raise NotImplementedError("linear_mixed_modelv is no longer implemented/supported as of Hail 0.2.94")
raise NotImplementedError("linear_mixed_model is no longer implemented/supported as of Hail 0.2.94")


mt_keys = mt.select_rows(**row_fields).add_row_index('__row_idx').rows().add_index('__row_idx').key_by('__row_idx')
return mt_keys.annotate(**ht[mt_keys['__row_idx']]).key_by(*mt.row_key).drop('__row_idx')
raise NotImplementedError("linear_mixed_modelv is no longer implemented/supported as of Hail 0.2.94")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
raise NotImplementedError("linear_mixed_modelv is no longer implemented/supported as of Hail 0.2.94")
raise NotImplementedError("linear_mixed_model is no longer implemented/supported as of Hail 0.2.94")

@tpoterba
Copy link
Contributor Author

fixed!

@danking danking merged commit 75769c4 into hail-is:main Apr 14, 2022
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