Formatting
This commit is contained in:
parent
86732b8782
commit
32cf2de96e
1 changed files with 3 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ class CaptureSchema(ImageSchema):
|
||||||
for interacting with a capture. Additional attributes
|
for interacting with a capture. Additional attributes
|
||||||
are returned by using FullCaptureSchema
|
are returned by using FullCaptureSchema
|
||||||
"""
|
"""
|
||||||
|
|
||||||
dataset = fields.Dict() # TODO: Make schema
|
dataset = fields.Dict() # TODO: Make schema
|
||||||
file = fields.String(
|
file = fields.String(
|
||||||
data_key="path", description="Path of file on microscope device"
|
data_key="path", description="Path of file on microscope device"
|
||||||
|
|
@ -92,12 +93,14 @@ class CaptureSchema(ImageSchema):
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
||||||
class FullCaptureSchema(CaptureSchema):
|
class FullCaptureSchema(CaptureSchema):
|
||||||
"""
|
"""
|
||||||
Capture schema including metadata. We exclude this by default
|
Capture schema including metadata. We exclude this by default
|
||||||
since it can become huge due to complex settings including
|
since it can become huge due to complex settings including
|
||||||
lens shading tables and CSM matrices.
|
lens shading tables and CSM matrices.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
metadata = fields.Nested(CaptureMetadataSchema())
|
metadata = fields.Nested(CaptureMetadataSchema())
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue