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

Use CSV column headers instead of column numbers #4

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

Conversation

stephenwilletts
Copy link

@stephenwilletts stephenwilletts commented Jul 9, 2019

Change the way that the script reads the CSV file by using the column names instead of the column numbers. This might help to avoid problems in the future if additional columns are added to the CSV export from DIM. This won't protect against column names changing though.

The Power column is read in as an integer to correctly calculate items for infusion.

Also updated the code to write the column headers to the exported CSV file.

This should fix Issue #2 and Issue #3 .

Hope this helps,

Steve

Copy link

@Clankcoll Clankcoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants