Comments (4)
As of a3c4b65, resuming at the beginning of the interrupted block is implemented in all tasks.
from psychtaskframework.
Idea: if save-after-trial is enabled, save into Data.blocks.current
, which gets deleted in every addBlock
? This also enables runBlock
to check which trial it should start for ((1 + height(Data.blocks.current)) : blockLen
). That's similar to how block resumption goes, and maybe cleaner.
from psychtaskframework.
Crossed out a lot of unnecessary logic above. Rough sketch of the logic to be implemented:
Data.blocks.numRecorded
is only incremented at the end of the block.runBlock
checks ifnumel(Data.blocks.recorded)
is larger thanData.blocks.numRecorded
.- If it is, then
runBlock
iteratesk = height(Data.blocks.recorded{end}) : numTrials
rather thank = 1 : numTrials
. appendRow
runs directly on the table inData.blocks.recorded{end}
, rather than oncollectedData
.saveData(Data)
is run on every iteration of the trial ifblockSettings.device.saveAfterTrial
istrue
,- When all trials have run,
Data.blocks.numRecorded
is incremented and data is saved again ifsaveAfterTrial || saveAfterBlock
. (The OR is important -- ifsaveAfterBlock
werefalse
for whatever reason, the numRecorded update could get lost.)
from psychtaskframework.
This has been put to the front of the queue at Sharon's request. Pull request #88 implements and closes this issue.
from psychtaskframework.
Related Issues (20)
- Reversed probability level reporting HOT 4
- Export cannot handle subjects with unfinished blocks
- Task, block, phase as Matlab objects
- Separate out trial generation from generateBlocks HOT 6
- Save the current commit/version in text file, DataObject HOT 2
- README in each task folder HOT 8
- Halt the block after n non-responses HOT 2
- Sphinx code documentation HOT 4
- Fix lotto positioning HOT 13
- Complete coverage of tasks with visual tests
- Unit testing for PTF
- Create an easy, complete setup
- Task: Uncertain reference R&A
- GStreamer text rendering on Windows breaks some text in HLFF/HF
- Division of blocks across the SODM beneficiary condition is wrong
- Get Sikuli + Robot Framework to run in a virtual machine
- Create a conflict task
- Create a quickstart
- Mark deprecations
- Task: Reversal learning
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psychtaskframework.