Skip to content

Population.name should enforce that it's a valid Python identifier #1073

Closed

Description

@jeromekelleher

In Demography.sample we allow the user to generate samples based on the population name via the kwargs. For this to be guaranteed to work, we need to make sure that the name is always a valid Python identifier. This should be easy enough to enforce.

Activity

  1. added this to the Release 1.0 milestone on Jun 15, 2020
  2. added 4 commits that reference this issue on Nov 25, 2020
    c66592c
    76a959c
    c2cf024
    51eb9af
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions