Skip to content

Add an upstream table for scan.ScanLocation #140

Description

@CBroz1

The current pipeline imports element_lab.Location and then uses this as an upstream table for scan.ScanLocation which is described as follows:

Location: Reference table for ScanLocation, specifying the brain location where this scan is acquired

This does not match the description of element_lab.Location:

location of animal housing or experimental rigs

I propose modifying scan.ScanLocation to the following:

@schema
class ScanLocation(dj.Manual):
    definition = """
    -> Scan
    ---
    -> AnatomicalLocation
    """

And adding the following to workflow_calcium_imaging.pipeline.py or element_calcium_imaging.scan, changing the schema decorator:

@lab.schema
class AnatomicalLocation(dj.Manual):
    definition = """
    scan_location_id : varchar(16)
    ----
    anatomical_description: varchar(256)
    """

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions