Closed christinabergmann closed 4 years ago
This should solve the problem, we'll see tomorrow when the website reloads if it did the trick!
Subsetting still doesn't work for prosocial and for nonspeech in rule learning, so I am reopening. In all cases the spreadsheet use TRUE / FALSE so I don't see what could be happening.
Fixed. I forgot to mention what the problem was before: adding the variables in datasets.yaml
(link https://github.com/langcog/metalab2/blob/master/metadata/datasets.yaml) is not enough for them to be used as moderators or subsetting, they need to also be added to spec.yaml
or otherwise it won't be able to find them (you can check that any variables missing from spec.yaml
will also not appear in the data tables in the website). So these two steps are necessary.
I had corrected many of the moderators and subsetting variables that were missing before, but I had forgotten to add Hamlin_Lab
to spec.yaml
(that's because when I was first solving this problem, the Prosocial MA was not appearing in the website), and Nonspeech
was miss-spelled (I accidentally wrote Nonpeech).
Now it should all work next time the website is refreshed. If you find any other variables missing just let me know and I'll add them to spec.yaml
(link: https://github.com/langcog/metalab2/blob/master/metadata/spec.yaml).
Ah fantastic, but it shows that we need some heavy documentation for how to add datasets, even for us nerds, because it's such a rare event that I forget. 😞
Just reopening this to remind myself that Angeline pointed out that her moderators are not showing up. I see from Julia's response that I should check spec.yaml
I added the three, but:
But let's wait and see if this fixes the issue.
The MetaLab data have been processed through spec.yaml so columns get dropped for all datasets. Your fix should work, once the site is re-rendered. Thanks for working this out!
Maybe someone has an idea why these issues occur.