bids-standard / BEP028_BIDSprov

Organizing and coordinating BIDS extension proposal 28 : BIDS Provenance
https://bids.neuroimaging.io/bep028
Creative Commons Attribution 4.0 International
4 stars 12 forks source link

[Bug]: RRID of SPM is used for all software in the examples #138

Open cmaumet opened 2 months ago

cmaumet commented 2 months ago

What happened?

In every example file (see e.g. here), the RRID specified for a Software entry is the one of SPM.

Describe the expected ground-truth ?

The RRID should obviously match the piece of software that was actually used.

What soft is concerned

All parsers. The bug is located in the bids_prov.utils.get_default_graph method as it initializes a graph with SPM's RRID and -to my knowledge- this value is never updated later.