Skip to content

Commit

Permalink
Fixed null_transform nested list issue; fixed sample data
Browse files Browse the repository at this point in the history
  • Loading branch information
dipterix committed Sep 12, 2024
1 parent 12322a7 commit f4726dd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 1 addition & 3 deletions R/gifti.R
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ io_read_gii <- function(file) {
)

if(!length(re)) {

re$Unknown <- null_transform

re <- null_transform
}


Expand Down
2 changes: 1 addition & 1 deletion inst/sample_data/gifti/icosahedron3d/geometry.gii
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
</DataArray>
<DataArray Dimensionality="2" Dim0="20" Dim1="3" Encoding="GZipBase64Binary" DataType="NIFTI_TYPE_INT32" Intent="NIFTI_INTENT_TRIANGLE" Endian="LittleEndian" ExternalFileName="" ExternalFileOffset="" ArrayIndexingOrder="RowMajorOrder">
<MetaData/>
<Data>eJwtjQENADEIA5EwCZOAg2fOkDIpk4KUX8eRkLahLWZv4u5qKsxoKjxw4cDz8Oq46/J/zYVzNRduPMKCFxmjQ7fkvzIHra6BdrzSxc25Tf4nXZPuQhv5evkf0n4hMA==</Data>
<Data>eJwtjQEOACEIw5BTQfz/f4/FkpB1gYGZmXenvZJOWLph6YEPma/7dg9YWrB0wdKAg0xyY/EnyWz84M9m3/HB7DIr/ORWcSvwzm6Q/wGMlAFL</Data>
</DataArray>
</GIFTI>
3 changes: 2 additions & 1 deletion vignettes/read-imaging-data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ print(merged)
Plot the surfaces in `3D` viewer, colored by shape measurement

```{r plot_surface, webgl = TRUE, out.width="70%", fig.width = 7}
plot(merged, name = "measurements")
# plot the first column in measurements section
plot(merged, name = list("measurements", 1))
```

Plot the normalized time-series data
Expand Down

0 comments on commit f4726dd

Please # to comment.