Skip to content

Commit

Permalink
Have Metadata Be Written For Tall Tables Too
Browse files Browse the repository at this point in the history
  • Loading branch information
AvocadoMoon committed Nov 27, 2024
1 parent 46d1a79 commit 88be5b5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public void close() throws IOException {
if (wideTable){
writeWideTableCSVMatrix();
}
writeMetaDataTable();
}

public void initializeDataSheets(){
Expand Down Expand Up @@ -248,6 +249,9 @@ private void writeWideTableCSVMatrix() throws IOException {
}
}
}
}

private void writeMetaDataTable() throws IOException {
File currentFile = new File(file.getAbsolutePath() + "-Metadata.csv");
try (FileWriter fileWriter = new FileWriter(currentFile)){
CSVWriter csvWriter = new CSVWriter(fileWriter);
Expand Down

0 comments on commit 88be5b5

Please sign in to comment.