pyxnat ArrayData() class methods have several inconsistencies which might affect their reliability when used.
By default the xsiType of queried entities is set to xnat:mrSessionData or xnat:mrScanData when querying for lists of experiments or scans respectively. That can rise some undesired problems. Fixed that by switching to a more conservative catch-all default values.
scans() method is not capable of filtering by scan_type argument value when specified as expected (is a REST API issue actually). In those cases, empty attributes are returned. Fixed that.
@xgrg please review and consider my PR, thanks and kudos!
pyxnat
ArrayData()
class methods have several inconsistencies which might affect their reliability when used.xnat:mrSessionData
orxnat:mrScanData
when querying for lists of experiments or scans respectively. That can rise some undesired problems. Fixed that by switching to a more conservative catch-all default values.scans()
method is not capable of filtering byscan_type
argument value when specified as expected (is a REST API issue actually). In those cases, empty attributes are returned. Fixed that.@xgrg please review and consider my PR, thanks and kudos!