The digest field has been added for all 3 parsers.
In order to be able to calculate sha256, the entity files with a prov:atLocation field are generated by hand.
This is a post-processing step where we enumerate each entity in the results with the prov:atLocation.
For FSL and AFNI, some problematic cases may occur (a message is displayed in this case) like this one:
The file /home/tbetton/Documents/F-WIN/forked_BEP028_BIDSprov/bids_prov/file_generation/custom_timing_files/ev1.txt is the child of a parent folder that was created as a file previously. To be fixed. -> this means that custom_timing_files was previously generated as an entity (a file) and that ev1.txt cannot be created as it would be "under" a file (not a folder). One solution could be to delete the old files generated previously...
The file /home/tbetton/Documents/F-WIN/forked_BEP028_BIDSprov/bids_prov/file_generation/storage/essicd/data/NIDM-Ex/BIDS_Data/RESULTS/TEST/nidmresults-examples/fsl_voxelwise_p0001.feat is a directory and also a file. To be fixed. -> this means that fsl_voxelwise_p0001.feat -> this means that fsl_voxelwise_p0001.feat was first generated as a folder and then used as a file.
The
digest
field has been added for all 3 parsers.In order to be able to calculate sha256, the entity files with a
prov:atLocation
field are generated by hand. This is a post-processing step where we enumerate each entity in the results with theprov:atLocation
.For FSL and AFNI, some problematic cases may occur (a message is displayed in this case) like this one:
The file /home/tbetton/Documents/F-WIN/forked_BEP028_BIDSprov/bids_prov/file_generation/custom_timing_files/ev1.txt is the child of a parent folder that was created as a file previously. To be fixed.
-> this means thatcustom_timing_files
was previously generated as an entity (a file) and that ev1.txt cannot be created as it would be "under" a file (not a folder). One solution could be to delete the old files generated previously...The file /home/tbetton/Documents/F-WIN/forked_BEP028_BIDSprov/bids_prov/file_generation/storage/essicd/data/NIDM-Ex/BIDS_Data/RESULTS/TEST/nidmresults-examples/fsl_voxelwise_p0001.feat is a directory and also a file. To be fixed.
-> this means thatfsl_voxelwise_p0001.feat
-> this means thatfsl_voxelwise_p0001.feat
was first generated as a folder and then used as a file.At a later stage, it may be possible to use the real files in https://github.com/incf-nidash/nidmresults-examples if they match well.