metadata_rows were incorrectly set, should be all lines when there is no table
Here is an example of the error it fixes:
f <- getGEOfile("GPL17021")
tail(readLines(f)) # the last series_id entry is GSE186800
gpl <- parseGPL(f)
tail(gpl@header$series_id) # the last series_id is NOT GSE186800
print(gpl@header$data_row_count) # NULL, should be 0
file.remove(f)
f <- getGEOfile("GPL17021", amount = "data")
gpld <- parseGPL(f) # error
file.remove(f)
metadata_rows
were incorrectly set, should be all lines when there is no tableHere is an example of the error it fixes: