@@ -487,14 +487,16 @@ def update_a_preconfig(preconfig, import_from):
487487def update_all_preconfigs ():
488488 """Update all other preconfigs with comments from default"""
489489 from CPAC .pipeline import ALL_PIPELINE_CONFIGS
490- not_from_blank = [ 'blank ' , 'default ' , 'fx-options ' , 'nhp-macaque ' ,
491- 'rbc-options' ]
490+ not_from_blank = ( 'anat-only ' , 'blank ' , 'default ' , 'fx-options ' ,
491+ 'nhp-macaque' , 'preproc' , ' rbc-options')
492492 update_a_preconfig ('blank' , None )
493- for preconfig in ['fx-options' , 'rbc-options' ]:
493+ for preconfig in ('anat-only' , 'preproc' ):
494+ update_a_preconfig (preconfig , 'default' )
495+ for preconfig in ('fx-options' , 'rbc-options' ):
494496 update_a_preconfig (preconfig , 'fmriprep-options' )
495497 update_a_preconfig ('nhp-macaque' , 'monkey' )
496- for preconfig in [ _ for _ in ALL_PIPELINE_CONFIGS if
497- _ not in not_from_blank ] :
498+ for preconfig in ( _ for _ in ALL_PIPELINE_CONFIGS if
499+ _ not in not_from_blank ) :
498500 update_a_preconfig (preconfig , 'blank' )
499501
500502
0 commit comments