Commit 32cf2de9 authored by Joel Collins's avatar Joel Collins
Browse files

Formatting

parent 86732b87
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ class CaptureSchema(ImageSchema):
    for interacting with a capture. Additional attributes
    are returned by using FullCaptureSchema 
    """

    dataset = fields.Dict()  # TODO: Make schema
    file = fields.String(
        data_key="path", description="Path of file on microscope device"
@@ -92,12 +93,14 @@ class CaptureSchema(ImageSchema):

        return data


class FullCaptureSchema(CaptureSchema):
    """
    Capture schema including metadata. We exclude this by default
    since it can become huge due to complex settings including
    lens shading tables and CSM matrices.
    """

    metadata = fields.Nested(CaptureMetadataSchema())