Skip to content

Update code to use latest datajoint conventions #354

@ecobost

Description

@ecobost

For instance:

  • Table() & key -> Table & key
  • Table().fetch/insert -> Table.fetch.insert
  • def make_tuples -> def make
  • in definition string: (renamed_col) -> Table(col) -> -> Table.proj(renamed_col='col')
  • in Part tables: ->NameOfMasterTable -> -> master
  • use the iterator ability of tables: for row in Table.fetch() -> for row in Table (this may only work if using proj, not sure).

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