Skip to content

Commit

Permalink
#62 fix dimension decoding from xml
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Jan 29, 2024
1 parent 7aa7c39 commit 38e0da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/GSDimension.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ GSDimension <- R6Class("GSDimension",
units = xml2::xml_find_first(xml, "//units") %>% xml2::xml_text()
self$setUnit(units)
unitSymbol = xml2::xml_find_first(xml, "//unitSymbol") %>% xml2::xml_text()
self$setUnitSymbol(unitSymbol)
if(!is.na(unitSymbol)) self$setUnitSymbol(unitSymbol)
},

#'@description Set enabled
Expand Down

0 comments on commit 38e0da9

Please sign in to comment.