# Wakefield's Daily Tips

**URL:** <https://discourse.psychopy.org/t/wakefields-daily-tips/43371>\
**Category:** Blog\
**Tags:** online, pavlovia\
**Created:** [January 1, 2025, 3:36pm UTC](https://discourse.psychopy.org/t/wakefields-daily-tips/43371 "2025-01-01T15:36:55Z")\
**Posts on this page:** 1\
**Showing post:** 28

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [January 27, 2025, 9:41am UTC](https://discourse.psychopy.org/t/wakefields-daily-tips/43371/28 "2025-01-27T09:41:02Z")

</div>

## Check for blank rows in your spreadsheets

It is all too easy to end up with blank rows or columns in a spreadsheet. If you highlight cells and then press delete, you are removing the contents from the cells, not deleting them altogether. If you experience blank trials or errors at random points in a loop then blank rows are a likely culprit. If you set the loop type to sequential, then the error will probably happen after your expected trials.

You can tell how many rows your spreadsheet has by reattaching it to the loop and seeing whether the number of conditions reported by PsychoPy matches the number you expect.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/0/3/03798e86a1c90c8b23ff44b7f6feb490980e246a.png)

If you use CSV files instead of Excel then you can easily check for blank rows in GitLab or locally in a text editor. Use UTF-8 encoding if you need your spreadsheet to contain new line or other extended characters.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/0/f/0ff4443ff9d08f14b1b975cb5c5d43a280060fca.png)

> [@Experiment stops running after presenting two randomized stimuli or all sequential stimuli](https://discourse.psychopy.org/t/experiment-stops-running-after-presenting-two-randomized-stimuli-or-all-sequential-stimuli/26831):
>
> OS (e.g. Win10): MacOS 12.0.1 PsychoPy version (e.g. 1.84.x): 2021.2.3 Standard Standalone? (y/n) If not then what?: Y What are you trying to achieve?: I created an experiment in builder from one that I already had working and where I needed similar requirements (just including new excel files for the loops), but now the experiment crashes after presenting two stimuli in a randomized loop, or after the full list of stimuli in a sequential loop. There’s still about half the experiment to go …

---

_[View the full topic](https://discourse.psychopy.org/t/wakefields-daily-tips/43371)._
