Skip to content

Commit

Permalink
Include Channel,Z,Time Size in Table
Browse files Browse the repository at this point in the history
  • Loading branch information
AvocadoMoon committed Sep 26, 2024
1 parent dfd8579 commit f66b61c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public static class SimulationExportDataRepresentation {
public ArrayList<String> differentParameterValues;
public String savedFileName;

public int zSlices;
public int tSlices;
public int numVariables;

public SimulationExportDataRepresentation(String exportDate, String uri, String jobID, String dataID, String simulationName,
String applicationName, String biomodelName, String variables, String startAndEndTime,
ArrayList<String> differentParameterValues, String savedFileName){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ static class N5ExportTableModel extends AbstractTableModel {
add("BioModel");
add("Application");
add("Simulation");
add("Time Slice");
add("Channel,Z,Time");
add("Date Exported");
add("N5 File Name");
}};
Expand Down Expand Up @@ -525,8 +525,8 @@ public Object getValueAt(int rowIndex, int columnIndex) {
return data.biomodelName;
} else if (columnIndex == headers.indexOf("Simulation")) {
return data.simulationName;
} else if (columnIndex == headers.indexOf("Time Slice")) {
return data.startAndEndTime;
} else if (columnIndex == headers.indexOf("Channel,Z,Time")) {
return String.format("%s,%s,%s", data.numVariables, data.zSlices, data.tSlices);
} else if (columnIndex == headers.indexOf("Date Exported")) {
return data.exportDate;
} else if (columnIndex == headers.indexOf("N5 File Name")) {
Expand Down

0 comments on commit f66b61c

Please sign in to comment.