PennController for IBEX › Forums › Support › Advice on Reducing Results File Size
- This topic has 2 replies, 2 voices, and was last updated 3 years, 3 months ago by cdfelton.
-
AuthorPosts
-
October 2, 2021 at 7:03 pm #7339cdfeltonParticipant
Dear Jeremy,
Thank you so much for all your work on PennController!
I am currently encountering a similar issue to many others after the farm migration where my old code simply produces results files that are too large. I only need to actually record the data from lines where the results parameter is “Final”, which would greatly reduce the file size. Since I inherited that part of this code from my lab, I do not know how to only record those lines while still making sure that all the results are saved to a line that also includes the item information from my stimuli csv that I’ll need later to analyze it. Is there a change I can make to my code that will only record the “Final” parameter items but keep their formatting the same?
Demo Link:
https://farm.pcibex.net/r/BrnGEO/Best,
CaseyOctober 3, 2021 at 10:29 pm #7343JeremyKeymasterDear Casey,
Some things you can do:
– if you don’t need the starting and ending time of your Header trials, add
.noTrialLog()
after the closing parenthesis of yourHeader(...)
(before or after.log(...)
, it shouldn’t matter)– more generally, if you don’t need the starting and ending time of some trial, add
.noTrialLog()
after the closing parenthesis of its correspondingnewTrial(...)
command– if you are not interested in the participants’ answers to the practice trials, consider remove the
.log(...)
commands on the elements included in those trials (Key elements, TextInput elements, etc.)– for your Textnput elements, you may want to consider using
.log("final")
so as to only get the “Final” line, and not the “first” and “validate” ones– you may or may not want to delete some of the
.log
commands on your Key elements, depending on how crucial it is for response time calculations to have lines reporting those keypresses in your results fileMost importantly, make sure to take one or several testruns after editing your project to verify the integrity of the results files it produces, and apply the analyses you would normally apply so you’re sure you’re not missing any crucial bit of information
Jeremy
October 3, 2021 at 11:11 pm #7344cdfeltonParticipantDear Jeremy,
I so appreciate your prompt reply, your suggestions worked perfectly and seem not to have impacted the integrity of my results file at all besides, if anything, simplifying data analysis! I will be taking your advice and doing several full length test runs before re-publishing, but it seems like each participant will only be ~400 lines as opposed to ~2400.
Best Wishes and Thank You,
Casey -
AuthorPosts
- You must be logged in to reply to this topic.