Skip to content

Commit

Permalink
chore: fix some typos in comment (#759)
Browse files Browse the repository at this point in the history
Signed-off-by: sunxunle <[email protected]>
  • Loading branch information
sunxunle authored Jan 20, 2025
1 parent c10eb15 commit 0fa5863
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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

0 comments on commit 0fa5863

Please sign in to comment.