DEBUGS - #209
Conversation
NEW: non_DCS for slurm (University of Surrey)
UPDATE: parameterset for UoS
DEBUG: aamod_convert_fieldmaps
UPDATE: parameterset for UoS
|
Two questions:
|
|
Ad 1.: Diagnostic streams are not deleted by garbagecollection after execution, and therefore, they are available for report generation. Ad 2.: I am not sure. I used spm_print, because I created image on the SPM Graphics, and thought it would be saved more 'properly' with using spm_print. |
|
HI Tibor, So I've been testing your PR -- having some trouble with domain wildcarding. (I realize this is not new to this PR, but I forgot that it has never worked for us). For example, the current version of aamod_norm_write has a domain='*' which I have to change back to domain='session' to get the module to run. Is there something we need to set up or change for this? Cheers, PS: Everything else with the PR seems to be working fine... |
|
What is not working? Does it throw you an error? In general, '*' domain is substituted based on the domain of the input or the module providing input. |
|
With domain='*', the scheduler is trying to run aamod_norm_write as 'subject'. Here is currenttask passed in: `K>> aap.tasklist.currenttask ans = struct with fields: aamod_norm_write then crashes on line 87 by trying to load stream_epi_outputfrom_aamod_norm_write_00001.txt That seems wrong. Why is it trying to load an outputfrom stream? |
|
What is the module right before aamod_norm_write? I suspect it is aamod_realign, which is on subject level; which makes aamod_norm_write also subject level. It try to load the I am not sure about your pipeline, but aamod_norm_write is generally preceded by aamod_coreg_extended_2epi (see example), which is on session level. |
|
You are correct. Here is the complete pipeline up to the crash:
Is this not a valid pipeline? It worked before aamod_norm_write was modified to use domain wildcarding. |
|
The recommended version would be: |
|
Couldn't we simply add a session domain header alias for aamod_norm_write (call it something like "aamod_norm_write_epi.xml")? I'm still trying to understand whether domain wildcarding was added for convenience or added to fix a problem. |
|
Yes, we can. However, domain wildcarding was added to avoid aliases. Another fix for your issue can be to write a (generic) function to specify/change domain for modules. |
That's a reasonable design philosophy. A competing philosophy is to ask: "what makes aa easier to use?" Clearly-named alias headers are self-documenting and help a user -- particularly a new user -- have confidence in designing a proper pipeline. When the behavior of a module is determined by the other modules that appear in a pipeline (or ordering thereof), this is a potential source of confusion. A confused user is an angry user. M PS: I'll reiterate this issue is not related to this PR, which as I mentioned passed my testing* aside from the wildcarding issue. So this PR can be merged as far as I am concerned (* the full aa_test suite still doesn't run under OS X, which we have a student looking into, who is currently out for winter break). |
|
I think this discussion would be more suitable for a separate thread, then. The aim to "make aa easier to use" was mine, too. And there was an agenda to reduce redundancy across modules. I agree that some of my simplifying changes may not be intuitive for other but me (because I have deveopped them independently); however, the were introduced according to the 'best practice' we had agreed upon. |
|
Finished testing this PR at WUSTL and everything ran as expected. Looks like it's good to merge. |
This PR fixes some bugs: