Replies: 1 comment
-
let cb = data
.get(&Tag::CELL_BARCODE_ID)
.transpose()?
.and_then(|value| match value {
Value::String(s) => Some(s),
_ => None,
})
.unwrap_or_default(); If the tag is missing or the wrong type, this returns an empty string. This example can also be used for your |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to get CB and UB tags:
my code:
Beta Was this translation helpful? Give feedback.
All reactions