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

Replacing a service triggers an error even if the replace parameter of ExperimentData._set_service is set to True #1353

Open
yaelbh opened this issue Dec 27, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@yaelbh
Copy link
Contributor

yaelbh commented Dec 27, 2023

With the stable branch, the exception is indeed skipped, as expected. But then elsewhere another exception occurs.

I don't know about the main branch.

As a workaround, @wshanks suggested to add the following lines before the call to _set_service:

 for result in expdata._analysis_results.values():
     result._service = None
@yaelbh yaelbh added the bug Something isn't working label Dec 27, 2023
@wshanks
Copy link
Collaborator

wshanks commented Dec 27, 2023

I didn't test it but the code looks the same on the main branch for analysis_result.py.

@ItamarGoldman ItamarGoldman self-assigned this Jan 28, 2024
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

3 participants