Skip to content
TomMaullin edited this page Jan 31, 2018 · 1 revision

Welcome to the nidmresults-spmhtml wiki! This page is used to store any notes of interest for future developers.

Notes for future development
  1. Currently (as of 19/03/2017), there is a bug in the NIDM-export for SPM which means that attributes with the prefix nidm_ inside the jsonld have an additional : character appended on the end. This has been fixed and should be updated in the next SPM update. However, until then, in the viewer there is some additional code removing these colons. This code can be found in the nidm_results_display code specifically in lines 26 and 124 onwards.

  2. Presently (as of 19/03/2017), both FSL and SPM export NIDM-Results in the prov jsonld format. However, although both of these follow the same guidelines, the export for these packs is very different. The viewer currently supports NIDM-Results packs generated by the FSL-format that contain either a single excursion set or multiple excursion sets. However, the viewer only supports SPM-formatted NIDM-Results packs containing a SINGLE excursion set. This is simply as SPM only exports single contrast NIDM-Results packs currently. However, if in the future another software supports NIDM-Results export and follows the SPM NIDM export format and exports multiple contrasts, the viewer will not be able to display the export. Currently, this is not an issue but it is something to be aware of, should more softwares adopt NIDM-Results.

Clone this wiki locally