Skip to content

Rename set_device's "build_on_run" keyword option? #879

Open
@mstimberg

Description

@mstimberg

Apologies about opening yet another renaming issue... In set_device you can set build_on_run=False to switch off the automatic device.build() call after the first encountered run statement. The feature is certainly necessary, but I'm more and more convinced that build_on_run is not a good name for the keyword, and I think users often stumble over it.

I think a better name would be single_run (with inverted True/False semantics, of course) -- because it rather describes the simulation instead of its technical implementation. Alternatively, automatic_build would keep the current True/False semantics but be clearer than build_on_run.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions