Retrieve properly the activity for exps linked to multiple ids #257
Conversation
jvegreg
left a comment
There was a problem hiding this comment.
There was a problem with the test, as we are now returing a string and not a list of strings. I fixed it.
It should not be a problem for the datafinder, as tags can be both
|
I couldn't test yet, but just to clarify, @jvegasbsc: There are two ways lists could enter here:
|
Yes, this is also considered. If the experiment is a list, the code loops over experiments. And for each experiment, if it is associated to multiple activities it only considers the first one. The test needed to be fixed because if there is only one experiment, what gets returned is just the value of the activity, instead of list with one value. But if there are multiple exps, the activity is returned as a list as well. At least that's what I get when I try it. |
|
@axel-lauer does this solve the problem you mentioned last week? |
Fixes #248