importClass(Packages.icy.sequence.Sequence)
importClass(Packages.icy.sequence.SequenceUtil)
seq = getSequence()
if (seq == null) throw "Please open a sequence first"
if (seq.getSizeC() < 2) throw "Sequence does not have enough channels to perform this operation."
// Removes index 1 (second channel) of the sequence
SequenceUtil.removeChannel(seq, 1)