Skip to content

Commit

Permalink
Update thermal test, remove outdated extension, fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Jan 16, 2025
1 parent 9d552a4 commit dbac5e3
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
1 change: 0 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
Expand Down
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"redhat.vscode-yaml",
"rodolphebarbanneau.python-docstring-highlighter",
"rodolphebarbanneau.python-docstring-highlighter",
"ryanluker.vscode-coverage-gutters",
"sourcery.sourcery",
"stkb.rewrap",
"TakumiI.markdowntable",
Expand Down
1 change: 1 addition & 0 deletions dev.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ function Invoke-Just {
PythonVersion = $PythonVersion
PylanceVersion = $PylanceVersion
}
if (!(Test-Path '.venv')) { Invoke-Uv -Sync -Update -Force }
}
Process { if ($Run) { Invoke-Uv @InvokeUvArgs -- just @Run } else { Invoke-Uv @InvokeUvArgs -- just } }
}
Expand Down
Binary file modified docs/data/e230920/thermal.h5
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/pipeline/boilercv_pipeline/captivate/previews.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def set_images(
viewable = scale_bool(viewable)
image_view.setImage(viewable.squeeze())
if isinstance(title, str):
image_view.addItem(TextItem(title, fill=mkBrush("black")))
image_view.view.addItem(TextItem(title, fill=mkBrush("black")))
return dict(zip(images.keys(), image_views, strict=False))


Expand Down Expand Up @@ -314,7 +314,7 @@ def main():
button = QPushButton("Save ROI")
button.clicked.connect(save_roi_)
button_layout.addWidget(button)
image_views[0].addItem(roi)
image_views[0].view.addItem(roi)

def keyPressEvent(ev: QKeyEvent): # noqa: N802
"""Save ROI or quit on key presses."""
Expand Down
11 changes: 8 additions & 3 deletions packages/pipeline/boilercv_pipeline/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def invoke(
help_formatter: HelpFormatable | None = None,
):
"""Modified Cappa CLI parser that surfaces the first innermost context.""" # noqa: D401
command, parsed_command, instance, concrete_output = parse_command(
command, parsed_command, instance, concrete_output, state = parse_command(
obj=obj,
argv=argv,
backend=backend,
Expand All @@ -62,13 +62,18 @@ def invoke(
instance.commands.commands
)
resolved, global_deps = resolve_callable(
command, parsed_command, instance, output=concrete_output, deps=deps
command,
parsed_command,
instance,
output=concrete_output,
state=state,
deps=deps,
)
for dep in global_deps:
with dep.get(concrete_output):
pass

with resolved.get(concrete_output) as value:
with resolved.get(output=concrete_output) as value:
return value


Expand Down

0 comments on commit dbac5e3

Please sign in to comment.