Skip to content

Experiment data completion time is None #1205

Open
@LiranShirizly

Description

@LiranShirizly

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())}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions