PennController for IBEX › Forums › Support › Question about assigning conditions, groups + randomization › Reply To: Question about assigning conditions, groups + randomization
July 24, 2023 at 10:27 am
#10789
Jeremy
Keymaster
Hi,
You don’t have to make them uniform, but one thing you can do is check for the presence of columns before logging them, eg:
.log("adjectivenumber", "adjectivenumber" in row ? row.adjectivenumber : "") .log("adjectiveclass", "adjectiveclass" in row ? row.adjectiveclass : "") .log("pair", "pair" in row ? row.pair : "") .log("context_adjective", "context_adjective" in row ? row.context_adjective : "") .log("target_adjective", "target_adjective" in row ? row.target_adjective : "") .log("target_polarity", "target_polarity" in row ? row.target_polarity : "") .log("contextcomparative", "contextcomparative" in row ? row.contextcomparative : "") .log("comparativequestion", "comparativequestion" in row ? row.comparativequestion : "") .log("contextequative", "contextequative" in row ? row.contextequative : "") .log("equativequestion", "equativequestion" in row ? row.equativequestion : "") .log("questionquestion", "questionquestion" in row ? row.questionquestion : "")
Jeremy