In case anyone finds this in the future, you have to turn the iterator into a list to use it more than once :)
In case anyone finds this in the future, you have to turn the iterator into a list to use it more than once :)
If I assign a SeqRecord object to a variable, it is only iterable once. In the code below, the output is nothing, but if I switch the print statement to the first loop it prints fine.
What am I missing?
If I assign a SeqRecord object to a variable, it is only iterable once. In the code below, the output is nothing, but if I switch the print statement to the first loop it prints fine.
What am I missing?