Skip to content

Cannot call set_control_data(init=0) twice #18

Description

@chiplet

This line throws a KeyError on the second call since DictData has already been initialized (is no longer None) and we don't give a name argument on the `set_control_data(init=0) call.

self.DictData[time][self.connector_datamap(name=name)-1] = val

Instead of terminating the whole program with a cryptic index error this should be fixed to silently ignore the duplicate function call.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions