cubicweb-brainomics #2583915 importers/localizer.py not tested with NoHookRQLObjectStore [done]

The import script currently doesn't work with NoHookRQLObjectStore - it guess it works with SQLGenObjectStore.

  File "/home/brainomics/localizer/cubes/brainomics/importers/localizer.py", line 437, in <module>
    store.relate(measure.eid, 'concerns', subject.eid, 'GenomicMeasure')
TypeError: relate() takes exactly 4 arguments (5 given)

Also the 5th argument of relate() (inlined) is supposed to be a boolean as far as I can understand from the relevant CubicWeb code, which by the way is not properly documented. Not a big deal since this 5th argument looks like it is not used by CubicWeb, but it raises questions about what the code in importers/localizer.py: is it doing what it is supposed to be doing?

See also tickets #2583909 and #2583883.

prioritynormal
typebug
done in<not specified>
load2.000
load left0.000
closed by<not specified>
patch[importers] Deals with different relate signature for store, (closes #2583915) [rejected]
attachment