This is an old revision of the document!
Suppose you want to remove an algorithm, for example the instance 'FitDownstream', which is a TrackEventFitter, in the sequence 'TrackDownstreamFitSeq'. For this, you write in your options file:
GaudiSequencer("TrackDownstreamFitSeq").Members.remove(TrackEventFitter("FitDownstream"))
But this may or may not work, as it is possible that these settings get overridden in furhter options file, which is called somewhere in the back.
One solution for this is to use the method called 'appendPostConfigAction'. Do something like:
def removeAlgo():
GaudiSequencer("TrackDownstreamFitSeq").Members.remove(TrackEventFitter("FitDownstream"))
appendPostConfigAction( removeAlgo )