Skip to content

Commit

Permalink
Merge pull request #100 from leondavi/master_update_3
Browse files Browse the repository at this point in the history
fix parser
  • Loading branch information
leondavi authored May 1, 2022
2 parents 949df9f + b9ed076 commit 7ea0fbf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ parse(ChunkSize,FolderName)->


parse_all(ChunkSize,FolderName,Counter,Ret)->
try parse_file(ChunkSize,"../../../inputDataDir/"++FolderName++"/"++FolderName++integer_to_list(Counter)++".csv") of
Name = lists:last(re:split(FolderName,"/",[{return,list}])),
try parse_file(ChunkSize,"../../../inputDataDir/"++FolderName++"/"++Name++integer_to_list(Counter)++".csv") of
L ->
parse_all(ChunkSize,FolderName,Counter+1,Ret++L)
catch
Expand Down

0 comments on commit 7ea0fbf

Please sign in to comment.