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

Experiment data completion time is None #1205

Open
LiranShirizly opened this issue Jun 21, 2023 · 0 comments · May be fixed by #1301
Open

Experiment data completion time is None #1205

LiranShirizly opened this issue Jun 21, 2023 · 0 comments · May be fixed by #1301
Assignees
Labels
bug Something isn't working

Comments

@LiranShirizly
Copy link
Contributor

Informations

  • Qiskit Experiments version:
  • Python version:
  • Operating system:

What is the current behavior?

The property ExperimentData.completion_times (here)
returns None because of outdated string.

Steps to reproduce the problem

What is the expected behavior?

Suggested solutions

Change 'COMPLETED' to 'finished' inside the property. Since

exp_data.jobs()[0].time_per_step()

gives:
{'created': datetime.datetime(2023, 6, 21, 11, 14, 3, 657850, tzinfo=tzlocal()), 'finished': datetime.datetime(2023, 6, 21, 11, 15, 40, 728000, tzinfo=tzlocal()), 'running': datetime.datetime(2023, 6, 21, 11, 14, 5, 58000, tzinfo=tzlocal())}

@LiranShirizly LiranShirizly added the bug Something isn't working label Jun 21, 2023
@gadial gadial linked a pull request Oct 31, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants