Skip to content

Part table names in diagrams include module prefix #1390

@dimitri-yatsenko

Description

@dimitri-yatsenko

Description

In DataJoint diagrams, part table names include the module prefix instead of being stripped like other tables.

Expected Behavior

Part tables should display as Scans.Scan (master.part format)

Actual Behavior

Part tables display as scan.Scans.Scan (module.master.part format)

Steps to Reproduce

See example in: https://github.com/datajoint/lcms-demo/blob/main/notebooks/01_inspect.ipynb

import datajoint as dj
from lcms_demo.pipeline import subject, session, scan

dj.Diagram(subject.schema) + dj.Diagram(session.schema) + dj.Diagram(scan.schema)

Environment

  • DataJoint version: 2.1.0
  • Backend: PostgreSQL

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