Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos in comment #759

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apis/python/node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl Node {
DoraNode::init_flexible(NodeId::from(node_id))
.context("Could not setup node from node id. Make sure to have a running dataflow with this dynamic node")?
} else {
DoraNode::init_from_env().context("Couldn not initiate node from environment variable. For dynamic node, please add a node id in the initialization function.")?
DoraNode::init_from_env().context("Could not initiate node from environment variable. For dynamic node, please add a node id in the initialization function.")?
};

let dataflow_id = *node.dataflow_id();
Expand Down
4 changes: 2 additions & 2 deletions node-hub/dora-pyorbbecksdk/dora_pyorbbecksdk/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def main():
color_frame = frames.get_color_frame()
if color_frame is None:
continue
# covert to RGB format
# convert to RGB format
color_image = frame_to_bgr_image(color_frame)
if color_image is None:
print("failed to convert frame to image")
Expand Down Expand Up @@ -202,7 +202,7 @@ def main():
# Send Depth data
storage = pa.array(depth_data.ravel())
node.send_output("depth", storage)
# Covert to Image
# Convert to Image
depth_image = cv2.normalize(
depth_data, None, 0, 255, cv2.NORM_MINMAX, dtype=cv2.CV_8U,
)
Expand Down
2 changes: 1 addition & 1 deletion node-hub/dora-record/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async fn main() -> eyre::Result<()> {
let file =
tokio::fs::File::create(dataflow_dir.join(format!("{id}.parquet")))
.await
.context("Couldn't create write file")?;
.context("Could not create write file")?;
let mut writer = AsyncArrowWriter::try_new(
file,
schema.clone(),
Expand Down
Loading