Open jhuguetn opened 5 years ago
Seems like, for attrs()
method to work, an schema of current XNAT instance shall be provided to pyxnat via:
interface.manage.schemas.add('xapi/schemas/xnat')
However, the location of XNAT schemas (via REST API) has changed at some point between releases 1.6.X and 1.7.X of XNAT and pyxnat searches for the schema in a wrong location (when using version >=1.7). See SchemaManager
code fragment:
https://github.com/xgrg/pyxnat/blob/4866ccf273cc4332ee7acd0be1a40ce2ca4d2a19/pyxnat/core/manage.py#L120
EAttrs(object)
does not seem to work at fetching attributes from (any) derived EObject viaself.attrs()
method.Error stack trace: