Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[open] Pasting to loop variable table / variable wizard

floflo
edited November 2015 in OpenSesame

Hi,

when working through the step-by-step tutorial, I saw this tip:

Tip – You can prepare your variable list in your favorite spreadsheet program and copy-paste it into the loop variable table. In this case, you first need to set ‘Cycles’ to the correct number of trials.

This seems extremely useful and I just tried it but can't get it to work. I re-used some R code I wrote a while back and exported my "experimental design" as a CSV file. It has 4 columns with variables and 58 rows. Each row is one trial and the four variables dictate the action on screen and include the correct_response.

I can't seem to paste this information into the loop item, though. I have set the number of cycles to 58 but when I copy the appropriate column in Excel (excl. the variable name) and then try to paste the values, they all end up in a single cell.

The whole thing ends up looking like this:

Am I missing something obvious here?

Note: I am using OpenSesame 2.9.6 on Mac OS Yosemite.

Thanks!

  • Florian

Comments

  • floflo
    edited December 2015

    Update: I worked around the issue by writing some code that generates a text file that has the appropriate format. Something like this:

    setcycle 0 x_target "-128"
    setcycle 0 target_pos "2"
    setcycle 0 cresponse "6"
    setcycle 0 sequence "NA"
    setcycle 1 x_target "384"
    setcycle 1 target_pos "4"
    setcycle 1 cresponse "8"
    setcycle 1 sequence "NA"
    setcycle 2 x_target "-384"
    setcycle 2 target_pos "1"
    setcycle 2 cresponse "5"
    setcycle 2 sequence "NA"
    setcycle 3 x_target "128"
    setcycle 3 target_pos "3"
    ...
    setcycle 56 sequence "NA"
    setcycle 57 x_target "384"
    setcycle 57 target_pos "4"
    setcycle 57 cresponse "8"
    setcycle 57 sequence "NA"
    

    So now I can copy-paste the content of this text file into the Script View of the loop item and the variables will be created accordingly.

    This works but it'd obviously be nicer if I could just copy-paste from my "favorite spreadsheet program" as suggested in the tutorial.

    • Florian
  • edited 5:58AM

    Hi Florian,

    Not sure whether you are missing anything here. Unfortunately, I can't reproduce this unwanted behaviour (actually quite fortunate for me...). But I'm also not working on a Mac. Maybe there is someone else who can confirm that this is really an issue? If so, you can file an issue on OpenSesames github page.

    Sorry,

    Eduard

    Buy Me A Coffee

  • floflo
    edited 5:58AM

    Hi Eduard,

    thanks for trying, though! I don't have access to a Windows computer at the moment so I can't test whether I'd have the same issue there.

    Does anyone else have similar problems?

    • Florian
  • kskksk
    edited January 2017

    Hi! The same problem here, also on Mac. Mac OS X Yosemite, OpenSesame v3.1, MS Excel 2016. It's very frustrating. I have tried to save my variable list as .xlsx, .xls, .csv, .txt and nothing worked. Thanks for looking into that. Kasia

  • Hi! I have resolved this issue by saving my file as "Windows Comma Separated". Hope it helps!

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games