Skip to content

Commit a8f2cc5

Browse files
committed
Include tuning in metadata
This may not be entirely desirable - the tuning can be quite a lot of data. I'm including it here as it's useful, but we may want to handle it differntly in the future.
1 parent 2da539a commit a8f2cc5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "labthings-picamera2"
3-
version = "0.0.2-dev0"
3+
version = "0.0.2-dev1"
44
authors = [
55
{ name="Richard Bowman", email="[email protected]" },
66
]

src/labthings_picamera2/thing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ def capture_raw(
561561
return RawImageModel(
562562
image_data = RawBlob.from_bytes(buffer.tobytes()),
563563
thing_states = states_getter() if get_states else None,
564-
metadata = { "parameters": parameters, "sensor": configuration["sensor"] },
564+
metadata = { "parameters": parameters, "sensor": configuration["sensor"], "tuning": self.tuning },
565565
processing_inputs = (
566566
self.image_processing_inputs if get_processing_inputs else None
567567
),

0 commit comments

Comments
 (0)