Skip to content

Commit

Permalink
skip no-longer-needed checks
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelforget committed Jan 14, 2025
1 parent 5666916 commit 5bf2474
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/files.jl
Original file line number Diff line number Diff line change
Expand Up @@ -860,13 +860,13 @@ function index()

#main table
oceansites_index=DataFrame(CSV.File(fil; header=false, skipto=9, silencewarnings=true))

#treat lines which seem mis-formatted
aa=findall((ismissing).(oceansites_index.Column17))
oceansites_index=oceansites_index[aa,:]
# aa=findall((ismissing).(oceansites_index.Column17))
# oceansites_index=oceansites_index[aa,:]

test=sum([sum((!ismissing).(oceansites_index[:,i])) for i in 17:22])
test>0 ? error("unclear lines remain") : oceansites_index=oceansites_index[!,1:16]
# test=sum([sum((!ismissing).(oceansites_index[:,i])) for i in 17:22])
# test>0 ? error("unclear lines remain") : oceansites_index=oceansites_index[!,1:16]

#column names
tmp=readlines(fil)[7]
Expand Down

0 comments on commit 5bf2474

Please sign in to comment.