Skip to content

ion_channel_model missing in the MEModel's EModel. #49

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

Open
AurelienJaquier opened this issue May 19, 2025 · 0 comments
Open

ion_channel_model missing in the MEModel's EModel. #49

AurelienJaquier opened this issue May 19, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@AurelienJaquier
Copy link
Contributor

The emodel in an memodel entity has ion_channel_models set to None, but when I fetch the emodel directly, then it has the ion_channel_models.

I would expect the ion_channel_models to be present in both cases.

Script to reproduce:


iterator = client.search_entity(
    entity_type=MEModel,
    token=access_token,
    limit=1,
)
memodel = next(iterator)

emodel = client.get_entity(
    entity_id=memodel.emodel.id, entity_type=EModel, token=access_token
)

print(memodel.emodel.ion_channel_models).  # gives None
print(emodel.ion_channel_models). # gives actualm list of ion channel models
@AurelienJaquier AurelienJaquier added the bug Something isn't working label May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant