Howdy, Stranger!

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

Supported by

How to combine different OS experiment in a single Jatos experiment

Hi all,

I have a question that seems basic, but I can't figure out. I've been searching for solutions in the Forum and I have read two differents threads (https://forum.cogsci.nl/discussion/8239/multiple-os-experiments-in-a-single-jatos-experiment and https://forum.cogsci.nl/discussion/7536/run-one-study-with-several-tasks) in vain.

I want to conduct a study that includes several sub-experiments, which need to be run in the same order for each participant.

On my local Jatos I have imported the two OS experiment independently. Then I created a new study in Jatos (for instance Study1 with the corresponding folder in the sudy_assets_roots). In Study1, I added each of the imported experiment as components (let's say Comp1 and Comp2). Then in the Study1 folder in the sudy_assets_roots, I added the subfolder of Comp1. In Jatos, I have copied the html path of Comp1 in the Properties of Comp1. I did the same with Comp2.

The first component (Comp1) runs independently, but not the second (Comp2).

The problem comes maybe from the way I grouped the folder of the components in the study_assets_roots?

I'm taking my first steps on jatos, so it's possible that I've missed a few steps or misunderstood something.

I would be very grateful if someone can help me!

Thanks!

Comments

  • Hi,

    If I understood correctly what you've done, that approach should work. I've had trouble getting this working properly though, and never had the time to figure out why.

    Perhaps you could try putting the two HTML files directly inside the Study1/ folder, and modify the HTML files accordingly to make sure that the scripts know where to look for their corresponding javascripts. (I.e. inside the header section, make sure you include a call to component1/<yourScript.js> instead of the call to the script alone.

    Could you try and report back? In principle there is no reason why this should work and what you tried, not (if you made no mistakes). So if this helps, please let us know and will should look into it.

    Hope this helps,

    Elisa

  • Dear Elisa,

    Thanks for your answer.

    I have tried to put the two HTML files directly inside the Study1/ folder and modify the HTML files accordingly. But now, even the 1rst component don't run. :( It's stuck on Building the experiment.

    I know pretty nothing about html files, so I try my best to modify the HTML files (I attached a picture of what I have modified). However, I don't know how and where to include a "call to " I am sorry. I am afraid I am a bit limited...

    Do you have any idea of what I could do? Maybe there is a step by step procedure I can follow to be sure to do things correctly?

    Sincerely,

    Clara

  • Hi, you can send me your study and I can try to have a quick look. elisa.filevich@gmail.com

  • Thanks a lot!

  • edited May 29

    I've sent you the study back, all you needed to do (I think) is to include the subfolders in the HTML path of each of the components.

    Let me know if it doesn't work

    Best

    Elisa

  • Hi @sebastiaan

    I'm trying to help with this question here and have to admit I'm a bit stuck.

    I am trying to combine two OSWeb studies into one, by transforming them into two separate components of a singleJATOS study.

    I tried to combine them all in a single pooled folder, but then two different orig.osexp files end up in the same place, and I didn't see which other script calls these, so I did not want to change their names.

    The alternative, then, is to place each OSWeb folder into a single study, which would mean (I think?) that I would need to change the path in the HTML file. I tried changing the value of const jatosAssetsFolder = "44d6-etc"  to a path that reflects that this is now a subfolder of the study with the Assets folder merged_study: const jatosAssetsFolder = "merged_study/44d6-etc" But when I run that, I see a 'failed to load resource' error (and the browser shows a message that there is no WebGL).

    I am pretty sure I'm missing something small: I need to change another path somewhere. But I don't know what I'm missing.

    Essentially, What would I need to change, if I wanted to edit exported OSWeb scripts to change the home directory?

    Thanks!

    Elisa

  • Hi @csg and @elisa ,

    There is no convenient way to combine to OSWeb experiments into a single JATOS study. However, a simple workaround would be to simply create a new experiment that initially contains only an empty experiment sequence, and then copy-paste the two experiment into this. That way you end up with only a single OSWeb experiment that you can easily host on JATOS. Would that be an option?

    — Sebastiaan

  • I think the main reason for this problem that in OSWeb the same filename is used for actual different files from different experiments, e.g.

    /js/osweb.b550aae48755b942591f.bundle.js

    or

    /js/vendors~osweb.620553755c063073df3c.bundle.js

    have the same name in both experiments but do not have the same content.

    @sebastiaan Isn't it something that can be changed in OSWeb? Each experiment gets its own unique filename? I mean in for the next release of OSWeb.

    Best,

    Kristian

  • @kri That would be possible, of course. But it would mainly make sense if it's accompanied by a more general restructuring that would allow OSWeb to build multi-component JATOS studies, which would be nice but I don't have the impression there is huge demand for this.

  • @sebastiaan I understand and it's probably a bigger effort to restructure OSWeb in a way to enable it to build multi-component JATOS studies. Maybe, it could be worth it to just do the file naming issue earlier - if it is a quick change? Then people could already combine them manually by combining the experiment folders.

  • @kri Doing this properly would take a bit of restructuring, for example because experiments may have non-identical files in the file pool with identical names. (Which would clash.) But I'll take this as a feature request for future releases!

  • @sebastiaan I understand. Hopefully we'll have this in the future.

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