databrary / datavyu

Desktop video coding/annotation tool
http://datavyu.org/
GNU General Public License v3.0
27 stars 18 forks source link

Trying to create reliability script #380

Open stotlerj opened 4 years ago

stotlerj commented 4 years ago

Hi there!

My name is Jacqueline, and I'm a graduate student working out of the Infant Cognition Lab at Florida Atlantic University. I'm new to Ruby, and I'm trying to create a reliability script similar to the Reliability-Trial_SeparateFiles.rb (https://github.com/databrary/Datavyu-Example-Scripts/blob/master/Reliability/Reliability-Trial_SeparateFiles.rb) script in the Example-Scripts templates.

I want to adjust this template by having it loop over all of the columns in my .opf file, not just do one at a time. I also want to compute kappa values simultaneously. I've had luck getting it to loop over all my columns (yay!) but when I add the "computeKappa" function, it gives me an error message: "NoMethodError: undefined method 'get_code' for nil:NilClass".

Any help would be appreciated!