Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for loadFile() when used repeatedly. Added getFloatsInColumn() #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

odbol
Copy link

@odbol odbol commented Mar 24, 2015

I'm not sure if it's a bug or intended behavior, but when I load multiple CSV files using the same ofxCsv object, it was appending the data to the previous file's data, instead of only using the new file's data. This PR makes sure that each time you call loadFile(), the previous data is wiped out and resources disposed.

This will change functionality that depends on data being appended by loadFile(). I'm unclear what would happen in that case if the files have different numbers of columns, though.

@odbol odbol changed the title Fix for loadFile() being used repeatedly. Added getFloatsInColumn() Fix for loadFile() when used repeatedly. Added getFloatsInColumn() Mar 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant