Skip to content

Commit

Permalink
Update read_ascii.pro
Browse files Browse the repository at this point in the history
in no-template case the name returned is FIELD01 not FIELD1
  • Loading branch information
GillesDuvert authored Oct 16, 2024
1 parent fa8a808 commit db9f3ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pro/read_ascii.pro
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ if N_ELEMENTS(template) eq 0 then begin
index = WHERE(STREGEX(row, rnumber, /fold_case, /boolean), count)
if count gt 0 then result[index, line] = float(row[index])
endfor
return, {field1:TEMPORARY(result)}
return, {FIELD01:TEMPORARY(result)}
endif
;
; should take into account the field keyword, when RSI implements it.
Expand Down

0 comments on commit db9f3ba

Please sign in to comment.