Open jhuguetn opened 5 years ago
Main issue is related on how this call is translated into an XNAT REST API call:
c.array.scans(experiment_id=e,columns=[...])
should ideally be translated by this:
[GET] /data/experiments/{e}/scans?columns={...}
however pyxnat
translates it into this tricky one:
[GET] /data/experiments?ID={e}&columns={...}
Thus, my assumption is that XNAT cannot make the proper translation among xpaths VERSUS human-readable abbreviations because it does not know beforehand what type of experiment details are we querying to.
For usability purposes would be good to support human-readable columns (xpaths) abbreviations when possible as is currently accepted in the XNAT REST API. Making this example call:
analogous to this one: