Howdy, Stranger!

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

Supported by

Possible to replace running experiment by updated one without changing the link?

Hi,

I am rather new to OS and Jatos. I use both to collect data for my thesis and came across the following problem:

I started an experiment in Jatos and already got a lot of responses I don't want to lose.

Problem was, I later realized there was a problem with the lists, the experiment obtains the stimuli from. I managed to solve that problem and now I have an updated version of my experiment, which I would like the future participants to take part in.

As I already sent out a lot of invitations, is there a way to exchange the experiment versions without having to change the link that opens the experiment for the participants?

It would be fantastic if anybody could help me with this!

Thanks a lot!

Nina

Comments

  • Hi Nina,

    The short answer is yes: you can simply re-upload your study, replace to old files in JATOS, and the old links will point to the new version.

    However this depends on that both your studies have the same UUID (you see that in your study properties). With the same UUID, JATOS will realize that you're importing another version of the same study and ask you if you want to overwrite (click yes in all cases). I don't know how OSWeb works here, and how you created your new version. If you modified the code you had, you'll probably export a study with the same UUID. If you started a second study from scratch, you'll get a different UUID. Then you'll have to go into the zip files and modify the contents by hand.

    Best

    Elisa

  • Hi,

    I have a question which is closely related to the one already asked:

    I first tried to upload a new version of the experiment already running because I didn't want it to interrupt. However, if I understand your answer correctly, the data which were already saved will not be overwritten. Is this correct? Will all my other settings stay in this case (e.g. different batches with different properties)? Is there any way apart from the "Start Time" do distinguish which version of the experiment participant saw when clicking on one of the already sent out links?

    Furthermore, even though I created a new experiment folder with a slightly different name and even though the html-files have slightly different names in the updated version, I receive this warning:


    If I do not want to overwrite my existing study (which is the one caleld Online_PWI_II) but instead want to have a slightly different one additionally, what should I do?

    Best,

    Anne

  • edited October 2020

    Hi Anne, you have several questions, see below:

    if I understand your answer correctly, the data which were already saved will not be overwritten. Is this correct?

    Yes, that's correct. However, I would recommend you always back up your data before changing anything in the study. I recommend you download what you have already. It will take no time, and you might save yourself a headache.

    Will all my other settings stay in this case (e.g. different batches with different properties)?

    Yes, that will also remain. So if on your server you have a study with two batches (e.g. "Piloting" and "Testing") and you have exported from your local JATOS a study with only one batch (e.g. "Piloting"), then the "Testing" batch and all its properties will remain intact, but any modified properties in the "Piloting" batch will be overwritten. If you have both batches in the study you're importing, then both batches will be overwritten.

     Is there any way apart from the "Start Time" do distinguish which version of the experiment participant saw when clicking on one of the already sent out links?

    Not built in. You could add to your result data a flag like ExperimentVersion that gives you the information you need.

    Furthermore, even though I created a new experiment folder with a slightly different name and even though the html-files have slightly different names in the updated version, I receive this warning:

    Yes, that's because JATOS considers two studies to be the same if they both have the same UUID (universally unique identifier).

    If I do not want to overwrite my existing study (which is the one caleld Online_PWI_II) but instead want to have a slightly different one additionally, what should I do?

    Changing the name (as you noted) won't work. Instead do the following:

    • On your local JATOS, go to your new (modified) study and then click More -> Clone.
    • This will create a clone, with a different UUID. This is now a different study, from JATOS' point of view. Rename the study and study folder as you wish.
    • Export and import to your server.

    Hope this helps

    Elisa

  • Thanks for your answer, this really helped to clearify a few things!

    Anne

  • Hello everyone,

    I have a question related to this topic. I am conducting an OSWeb study on JATOS but I need to change some part of the experiment. I don't want to lose the results data of the previous participants because in the end, I want to download all results as a single file. I used web interface to create and run the experiment so far, however, I couldn't find a way to replace the main experiment file without changing anything else. Isn't it possible on web interface?

    Thanks for your help in advance.

    Best regards,

    Jonah

  • Hi Jonah,

    This is possible.

    First, I would recommend you anyway download your data before changing the experiment. I understand you want to download it all together but it's always safer to have a backup copy in (the unusual) case that something goes wrong when you update your study.

    Each study created in JATOS (or in OSWeb) has something called UUID (which you see in the Study properties). This is a unique identifier, and this is what JATOS uses to know if two files correspond to the same study or a different one. If you simply import to the same server a modified version of your previous study, you'll get a prompt asking you which aspects you want to overwrite, and that's it.

    I am not too familiar with the OSWeb pipeline but you should be able to take your old study, modify it in OSWeb, export it as a JATOS .zip file, and import it again. If that leads to a different UUID, you'll have to unzip the folders and replace files. I can guide you through the steps.

    Best

    Elisa

  • Hi @elisa ,

    Thank you very much for your response! I was actually trying to manually change the zipped file that I uploaded and JATOS was assigning a new UUID in that case. However, it worked when I apply the changes on the file that I exported from the JATOS, I managed to overwrite the study.

    Thanks a lot!

    Best regards,

    Jonah

  • edited February 2021

    Hi @elisa ,

    Sorry to revive this discussion yet another time. I've never been prompted to overwrite a study on Jatos before, and I've gone through a few rounds of edits with my Open Sesame experiment(s). How can I change the UUID so they match between versions?

    Thank you!

    Zach

  • Hi Zach,

    If I understand correctly, you want to keep the same UUID after modifying a study, right? You can't really modify a UUID by hand. Instead you should:

    • Export your study (which I imagine is running on a server?). I'll call this version A.
    • Import it into your local JATOS instance
    • Unzip your new OSWeb study (Say on your Desktop). I'll call this version B.
    • In your local Study Assets Folder, (you'll find where this is at the bottom of your local JATOS homepage), replace the files from version A (HTML files, assets, but not .jac and .jas files) with all of those from version B.
    • Export the updated study locally
    • Import the updated study in the server.

    It sounds complicated but it's only a couple of clicks. Do, however, backup any data that you've collected already and make sure you keep a copy of both versions A and B of your study somewhere safe. This is a bit of a hacky solution so it does have the potential to fail.

    Best

    Elisa

  • Hi @elisa ,

    Sorry, I'm still confused. We have jatos running on a web server, but it's managed by the IT department. What do you mean by the local Jatos instance? I've made the experiment(s) on Open Sesame, then I choose the option to export as a jatos experiment (which zips the files onto my desktop), and then upload to jatos. Would you be able to provide some visuals?


    Thanks,

    Zach

  • Hi Zach,

    Have a look at our docs: http://www.jatos.org/Run-an-experiment-with-JATOS-Workflow.html. There are visuals there. You created a study on OSWeb and imported it directly on the server. That's fine. But given that you (if I understood it correctly - I'm not sure why you want to modify the UUID) want to make modifications to your study, the best is to make those changes on your local instance (http://www.jatos.org/Installation.html#easy-installation-on-your-local-computer) where, unlike in your university's server, you have easy access to the filesystem. Then export the new, modified study and import it into the server.

    Best

    Elisa

  • Hi Zach,

    An alternative way is to edit the .jas file that is within your experiment .zip file.

    1. Unzip your experiment (that you got from OpenSesame)
    2. Open the .jas file with an editor
    3. Change the value of the uuid field to the desired value
    4. Zip the folder again
    5. Import it into your JATOS

    JATOS should recognize the UUID of the experiment and offer to overwrite it (this won't overwrite your results).

    Best,

    Kristian

  • Hi @elisa and @kri ,

    Sorry this has gotten confusing. I'm trying to edit the UUID because I haven't been prompted to overwrite a study, but I need to make edits to existing studies. From your comments above my impression was that I needed to find and edit the UUID in my local study assets. (@kri , I opened up the .jas file in an editor but UUID wasn't one of the fields).

    I've made edits on the project locally, but when I try uploading to Jatos it doesn't overwrite previous studies. For a few reasons it would make things very complicated on our end to upload these as new studies. The main issue I'm having trouble with is that I'm not being prompted to overwrite studies on Jatos. Do either of you have an idea why that isn't working?

    Thanks,

    Zach

  • Hi, to understand what’s going on:

    Could you check the UUIDs of both studies? Namely the one you edited locally and the one on the server that you want to overwrite.

    If they differ, that will explain why you’re not being prompted to overwrite.

    when you say you edited the project locally: did you create a new study or did you download (export) the one from the server, import it locally, modify the contents of the folder, and again export locally and import in the server?

    Only the latter will count as modifying a study by respecting the UUID.

    Let us know and we’ll take it from there

    best

    elisa

  • Hi @elisa ,

    Sure, but how can I find the UUID of the local study? The UUID of the study on jatos is 0779fa80-327e-41e7-81bd-2ff0b102a864

    Oh I may be editing the studies incorrectly since I haven't been exporting the study from jatos to make changes. I've been editing the study on Open Sesame, then I choose the option to 'export as a jatos study' and then import it into jatos. Let me know if that's clear.

    Thank you!

    Zach

  • Yes, you said that you import things directly on to the server. The easiest way to do this is to run a local jatos instance, as I mentioned initially. This is straightforward and will work on all OSs.

    If you want to avoid it, do the following: (this is a modification from my initial answer)

    • Export your study (which I imagine is running on a server?). I'll call this version A.
    • Unzip it onto your desktop. (if it's a jzip file, just change the extension to .zip and unzip normally)
    • Unzip your new OSWeb study. I'll call this version B.
    • In your unzipped study A, replace the files from version A (HTML files, assets, but not .jac and .jas files) with all of those from version B.
    • Zip the updated study on your desktop
    • Import the updated study in the server.


  • Hi @elisa ,

    It may have been inaccurate on my part in saying I import things directly onto the server. Thank you for your patience.

    I followed your directions and think I almost have it, but when I tried importing the edited version A, I got an error saying 'Invalid Study.' I tried a couple times, the first time I replaced the css and js folders with Version B's, and also replaced index.html and the .osexp file. The second time I just replaced the index.html folder and the .osexp file but ran into the same issue.

    I'm including a screenshot, but the top folder is a new Version A from jatos with nothing replaced, and the bottom folder is a new Version B with the edited study. Do you know which files/folders specifically need to be replaced?

    Thanks again,

    Zach


  • In the top version I see no info.jas file, which you will need. Without it, you'll get an invalid study.

    Also, maybe the problem is with the tmp*.osexp files do (those come from OSWeb, I actually don't know what they so) so maybe jatos can't properly parse the study.

    Is the folder in the bottom the one you imported after zipping? If it is, then maybe ask the same question the OSWeb forum.

    Best

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