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

Ticket 453529 Fix MLST spreadsheet output #51

Merged
merged 11 commits into from
Apr 14, 2015
Merged

Ticket 453529 Fix MLST spreadsheet output #51

merged 11 commits into from
Apr 14, 2015

Conversation

bewt85
Copy link
Contributor

@bewt85 bewt85 commented Apr 8, 2015

Excel seems to get confused by CSVs if there are two tabs in a row and (by default) merges them. This messes up the alignment. I've therefore updated the code to quote all the things but unfortunately it turns out that we were re-reading some of what we write using a split which meant that we triple quoted some things.

I've fixed it now though.

Includes changes from #50 so best to merge that one first.

@bewt85 bewt85 closed this Apr 8, 2015
@bewt85
Copy link
Contributor Author

bewt85 commented Apr 8, 2015

Right PR, wrong description. One moment please.

@bewt85 bewt85 changed the title Ticket 442599 Fix database updated Ticket 453529 Fix MLST spreadsheet output Apr 8, 2015
@bewt85
Copy link
Contributor Author

bewt85 commented Apr 8, 2015

Apologies, fixed now.

@bewt85 bewt85 reopened this Apr 8, 2015
bewt85 added 5 commits April 9, 2015 09:49
…abase

getstore doesn't die if the data is missing so I've added a check.  I've also added some tests
but they throw warnings about dodgy Prototypes.  I think this is because I don't understand
mocking properly but I've already spent far too long on this and it's just us who run the
tests anyway, probably
This will cope better when we quote strings in the output
@bewt85
Copy link
Contributor Author

bewt85 commented Apr 9, 2015

rebased on #50; tests still pass :)

andrewjpage added a commit that referenced this pull request Apr 14, 2015
Ticket 453529 Fix MLST spreadsheet output
@andrewjpage andrewjpage merged commit b22224a into sanger-pathogens:master Apr 14, 2015
@bewt85 bewt85 deleted the BT5_453529_add_csv_quotes branch April 15, 2015 12:47
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