hi James,
this bug shows up only when using the full SCM model and any of the scm_trials that require durations. When using a $duration running a set something goes wrong. Below a minimal reproducible script that uses the toy stimulus set in attachment. Thanks!
loglevel debug
quietly include Models/scm/SCM.eNm
quietly scm stage
create stimulus_set test_numbers
test_numbers load_csv test_numbers.csv
(scm_pldt default_observer) clear
set prime=$stimulus prime_duration=$dur target=$stimulus
scm_pldt run_set test_number
... output contains these warnings:
WARNING: no LM33t_nr state at index2
WARNING: no IAC output at that time
WARNING: no LM33t_nr state at index2
WARNING: no IAC output at that time
.. and no lexical decision takes place, RTs are all NAs.
.. On the other hand, if you go:
set prime=$stimulus prime_duration=50 target=$stimulus
scm_pldt run_set test_number
.. all is well.
It was in SCM that I reported this bug, but it's not specific to SCM -- I think it's a general problem with dollar arguments that are supposed to be integers.
For example:
quietly include Models/ia/ia.eNm
quietly ia stage
words default_observer) enable
create rplot words.state.by_time
words.state.by_time set_type layers/by_time.R
words.state.by_time set_pretty_name words state
words.state.by_time setting_object df (words default_observer)
create stimulus_set Andrews_92_short_dur
Andrews_92_short_dur add_hint show 0
Andrews_92_short_dur load Databases/Stimulus_files/Andrews_92_short_dur.eNd
(brief_masked default_observer) set_pretty_name brief_masked
(brief_masked default_observer) clear
(words default_observer) clear
this run produces what we want
set stimulus=$stimulus stimulus_duration=15 mask_duration=25
quietly brief_masked run_set Andrews_92_short_dur
unset mask_duration stimulus stimulus_duration
(brief_masked default_observer) add_hint show 1
words.state.by_time add_hint show 1
(brief_masked default_observer) copy brief_masked_default_observer.Copy.1
brief_masked_default_observer.Copy.1 add_hint show 0
brief_masked_default_observer.Copy.1 set_pretty_name brief_masked(1)
(brief_masked default_observer) clear
(words default_observer) clear
this run doesn't
set stimulus=$stimulus stimulus_duration=$dur mask_duration=25
quietly brief_masked run_set Andrews_92_short_dur
unset mask_duration stimulus stimulus_duration