You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while (row := koza_app.get_row()) is not None:
xyz
with
koza_app = get_koza_app("go_annotation")
def row_gen(): while True:
try:
row = koza_app.get_row()
yield row
except StopIteration:
return
for row in row_gen():
xyz
But this caused some form of infinite loop to begin firing within the koza module
2024-08-16_14:09:34 | INFO | koza.io.reader.csv_reader | Finished processing 19 rows for go_annotation from file data/go/9606.go_annotations.gaf.gz
2024-08-16_14:09:34 | INFO | koza.io.reader.csv_reader | Finished processing 19 rows for go_annotation from file data/go/9606.go_annotations.gaf.gz
2024-08-16_14:09:34 | INFO | koza.io.reader.csv_reader | Finished processing 19 rows for go_annotation from file data/go/9606.go_annotations.gaf.gz
2024-08-16_14:09:34 | INFO | koza.io.reader.csv_reader | Finished processing 19 rows for go_annotation from file data/go/9606.go_annotations.gaf.gz
2024-08-16_14:09:34 | INFO | koza.io.reader.csv_reader | Finished processing 19 rows for go_annotation from file data/go/9606.go_annotations.gaf.gz
The text was updated successfully, but these errors were encountered:
I'm fairly sure the issue here is that koza expectsStopIteration to be raised to know when to stop running the transform script. Since that exception is never raised, the script continues to be run
I tried to replace the following line of code
with
But this caused some form of infinite loop to begin firing within the koza module
The text was updated successfully, but these errors were encountered: