Skip to content

duplicate_with_new_array changed to duplicate_with_new_data #621

Closed

Description

@aguimera

The basesignal class method "duplicate_with_new_array" has been changed by "duplicate_with_new_data" in version 0.7, it can produce back compatibility errors.

Activity

  1. jpgill86 commented on Dec 12, 2018

    @jpgill86
    Contributor

    Indeed, this is affecting elephant, and a simple fix is proposed in NeuralEnsemble/elephant#189.

    In my opinion, the old name should have been retained as an alias for at least one development cycle, eventually deprecated, and later removed, but, hey, hindsight is 20/20. In the words of Michael Scott, we should have had hindsight.

  2. apdavison commented on Dec 12, 2018

    @apdavison
    Member

    the old name should have been retained as an alias for at least one development cycle, eventually deprecated, and later removed

    I completely agree. It was more a case of oversight than lack of foresight - the change was in a PR that was merged a short time before the release, and we didn't notice the change!

    I actually think we should reintroduce an alias in the next release.

  3. added this to the 0.8.0 milestone on Dec 12, 2018
  4. jpgill86 commented on Dec 12, 2018

    @jpgill86
    Contributor

    I actually think we should reintroduce an alias in the next release.

    How about a quick fix in 0.7.1?

  5. apdavison commented on Dec 13, 2018

    @apdavison
    Member

    Done. Released in v 0.7.1

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions