Announcing the new Datavyu v1.3.6 with enhanced features and transcription support!

Hi,

We are currently using a script to export our raw data from datavyu. We would like to use this script for a study with similar but not the exact same coding format. We did try to run the script we have on this other study but it is not working with that format. If we sent you the script and datavyu file would you mind taking a look to see why it isn't running?

Thank you!

Lakusta Lab

asked 20 Feb '14, 13:23

Lakusta%20Lab's gravatar image

Lakusta Lab
71121214
accept rate: 0%


Before you send us any files, would you mind elaborating on the coding format and your desired output for this new script to help us better understand your problem?

A script isn't always directly translatable. Beyond modifying the variable and arguments, you often have to change the structure of the script as well (how it loops over columns and cells), especially if the structure of your spreadsheet has changed.

Thank you!

permanent link

answered 20 Feb '14, 14:28

GladysChan's gravatar image

GladysChan ♦♦
164116
accept rate: 0%

Hi Gladys,

With this new study and data, the information within most variables are the same. The only difference is that we now have less arguments within the Look variable (removing audio onset/offset, preposition onset/offset), so we are only coding looking times and direction. We're hoping this is an easy fix, but please let us know if you can assist us with this!

Thanks so much!

permanent link

answered 24 Feb '14, 15:14

Lakusta%20Lab's gravatar image

Lakusta Lab
71121214
accept rate: 0%

Hi,

I received your email w/ the script and example file and have sent a working version back. I'm also replying on the forum for the community at large to use.

The 2 scripts that I sent are identical in every way except that the one w/o the A at the end doesn't work on our computers in the lab. I don't know why, nor does our tech person, but we're trying to figure it out. I sent you both because the one w/o the A is a changed version of script file that you sent me, so it may work on your computers while the one w/ the A may not.

Please let me know which works on your machines so that we can try and diagnose the issue. If you could also tell me what operating system your computers use and what text editor you used to create the script that would be helpful.

The script you sent was very close to working and I only needed to make 3 changes. I've listed the problems below.

Problems:

  1. No offset to the Sub Info variable - This meant that your binding statement "if stimcell.onset >= subcell.onset and stimcell.offset <= subcell.offset" made sure that the script wasn't going to moved past this line because none of your stimcell.offsets were less than 00:00:00:000.

  2. The space needed to be removed from Sub Info - The script wasn't recognizing the variable/column name because of the space.

  3. subcell.cond should have been subcell.condition - This was because the code name is condition, not cond.

The 1st and 2nd problems will have to be corrected in your datavyu files for the the script to work. The 3rd problem is fixed by the script.

permanent link

answered 26 Feb '14, 20:23

david's gravatar image

david ♦
143235
accept rate: 4%

edited 26 Feb '14, 20:24

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×46
×2

question asked: 20 Feb '14, 13:23

question was seen: 3,744 times

last updated: 26 Feb '14, 20:24

powered by OSQA