← Other topics

Coding Psych Experiments
Experiment Development Tips

Timecode of this content: 6:20:24

Video Notes

CSV Viewer

Download the VSCode extension Excel Viewer to be able open your CSV result files in a more legible table format.

Once installed, you can right click a CSV file, choose Open With > CSV Editor

After installing the plugin, open your settings and search for csv-preview.capitalizeHeaders and disable the setting Csv-preview: Capitalize Headers.

Comment out trials you’re not actively testing

Imagine you've completed the code for Tasks 1 and 2 in your experiment, and now you’re focussing on the IAT or EST task. Every time you go to test your IAT/EST, you’ll have to run through the welcome screen followed by Task 1 and Task 2 just to get to the IAT/EST portion of the experiment.

To expedite the development process, you can temporarily comment out trials you are not actively working on. E.g.:

// [code here for welcome trial]
// timeline.push(welcomeTrial);

// code here for task1
// timeline.push(task1);

// code here for task 2
// timeline.push(task2);

Now, when you run your experiment, you’ll start at the IAT or EST. (Just don’t forget to uncomment those trials when you’re done!)

Unlock all the notes for $4

No subscriptions, no auto-renewals.

Just a simple one-time payment that helps support my free, to-the-point videos without sponsered ads.

Unlocking gets you access to the notes for this video plus all 200+ guides on this site.

Your support is appreciated. Thank you!

Payment Info

/
$4 6 months
$25 forever
Please check the form for errors
Questions? help@codewithsusan.com
← Other topics