Commit 73d705e3 authored by Matija Obreza's avatar Matija Obreza

Renamed coreId to genesysId

parent aa75604b
...@@ -1200,7 +1200,7 @@ public class GenesysServiceImpl implements GenesysService, TraitService, Dataset ...@@ -1200,7 +1200,7 @@ public class GenesysServiceImpl implements GenesysService, TraitService, Dataset
final List<ExperimentAccessionTrait> vals = traitValueRepository.getValues(metadata, method); final List<ExperimentAccessionTrait> vals = traitValueRepository.getValues(metadata, method);
csv = new CSVWriter(new BufferedWriter(new OutputStreamWriter(zos)), ',', '"', '\\', "\n"); csv = new CSVWriter(new BufferedWriter(new OutputStreamWriter(zos)), ',', '"', '\\', "\n");
csv.writeNext(new String[] { "coreId", "datasetId", "value" }); csv.writeNext(new String[] { "genesysId", "datasetId", "value" });
Map<String, String> codeMap = null; Map<String, String> codeMap = null;
if (method.isCoded()) { if (method.isCoded()) {
...@@ -1260,7 +1260,7 @@ public class GenesysServiceImpl implements GenesysService, TraitService, Dataset ...@@ -1260,7 +1260,7 @@ public class GenesysServiceImpl implements GenesysService, TraitService, Dataset
private void writeDatasetCore(final Metadata metadata, ZipOutputStream zos) throws IOException { private void writeDatasetCore(final Metadata metadata, ZipOutputStream zos) throws IOException {
@SuppressWarnings("resource") @SuppressWarnings("resource")
final CSVWriter csv = new CSVWriter(new BufferedWriter(new OutputStreamWriter(zos), 4096), ',', '"', '\\', "\n"); final CSVWriter csv = new CSVWriter(new BufferedWriter(new OutputStreamWriter(zos), 4096), ',', '"', '\\', "\n");
csv.writeNext(new String[] { "coreId", "instCode", "acceNumb", "genus" }); csv.writeNext(new String[] { "genesysId", "instCode", "acceNumb", "genus" });
final ResultSetHelper csvResultsetHelper = new ResultSetHelperService(); final ResultSetHelper csvResultsetHelper = new ResultSetHelperService();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment