# Only last block of multi-block experiment appearing in data file

**URL:** <https://discourse.psychopy.org/t/only-last-block-of-multi-block-experiment-appearing-in-data-file/19945>\
**Category:** Builder\
**Created:** [January 26, 2021, 10:37pm UTC](https://discourse.psychopy.org/t/only-last-block-of-multi-block-experiment-appearing-in-data-file/19945 "2021-01-26T22:37:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bwinston](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/bwinston/32/14629_2.png) [@bwinston](https://discourse.psychopy.org/u/bwinston)\
**Post date:** [January 26, 2021, 10:37pm UTC](https://discourse.psychopy.org/t/only-last-block-of-multi-block-experiment-appearing-in-data-file/19945/1 "2021-01-26T22:37:52Z")

</div>

**OS** Win10  
**PsychoPy version** current

**What are you trying to achieve?:**  
I made a simple oculomotor localizer task. See the structure below:

 ![builder](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/3/f/3f2245c28568fea0e781ac437f8fa6ac6ba877dc.png)  
Essentially, 4 blocks of: fixation → flashing checkerboard → fixation → tap left/right finger

**What specifically went wrong ?:**  
The experiment runs fine, but the data csv file shows stimulus onset etc. for _only the last block_. Here is a brief view–it goes from 22 seconds (those first few routines) to recording the times of the last block (at 231 seconds).

 ![datafile](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/3/f/3fc9b828933940fce42d1ae291f7c934bb9e0c09.png)  
There is nothing in the blocks section despite it running 4 blocks:  
 ![blocks](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/e/d/ede69b1fd839c3e6ca952ec343760ed758fd9ed4.png)

I’ve uploaded the complete data file here: [\_oculomotor\_task\_2021\_Jan\_26\_1713](https://www.mediafire.com/file/libez4yfuq2yam8/_oculomotor_task_2021_Jan_26_1713.csv/file)

Here is the builder experiment file: [ocumotor\_builder\_v1.1](https://www.mediafire.com/file/i4kt9hguy4lsopt/ocumotor_builder_v1.1.psyexp/file)

Any ideas? Am I misunderstanding how the data files work?

Thank you very much!!

---

<div class="post-metadata">

**Author:** ![bwinston](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/bwinston/32/14629_2.png) [@bwinston](https://discourse.psychopy.org/u/bwinston)\
**Post date:** [February 1, 2021, 7:18pm UTC](https://discourse.psychopy.org/t/only-last-block-of-multi-block-experiment-appearing-in-data-file/19945/2 "2021-02-01T19:18:21Z")

</div>

I solved this issue. For future reference, the issue was the “checkerboards” and “blocks” loops not having the “is trials” checkbox ticked.
