branch develop updated (0d79d75d -> 531d0a06)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository echobase. See https://gitlab.nuiton.org/codelutin/echobase.git from 0d79d75d Change label new 531d0a06 Rename field for export The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 531d0a06ea5230b3cf23016599a70090c4c0fd83 Author: jruchaud <ruchaud@codelutin.com> Date: Fri Feb 2 16:51:39 2018 +0100 Rename field for export Summary of changes: .../echobase/services/service/atlantos/xml/XmlBioticExport.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository echobase. See https://gitlab.nuiton.org/codelutin/echobase.git commit 531d0a06ea5230b3cf23016599a70090c4c0fd83 Author: jruchaud <ruchaud@codelutin.com> Date: Fri Feb 2 16:51:39 2018 +0100 Rename field for export --- .../echobase/services/service/atlantos/xml/XmlBioticExport.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/echobase-services/src/main/java/fr/ifremer/echobase/services/service/atlantos/xml/XmlBioticExport.java b/echobase-services/src/main/java/fr/ifremer/echobase/services/service/atlantos/xml/XmlBioticExport.java index c297ee5c..f1db74b8 100644 --- a/echobase-services/src/main/java/fr/ifremer/echobase/services/service/atlantos/xml/XmlBioticExport.java +++ b/echobase-services/src/main/java/fr/ifremer/echobase/services/service/atlantos/xml/XmlBioticExport.java @@ -344,19 +344,18 @@ public class XmlBioticExport implements EchoBaseService { "IDREF", vocabulary.getVocabularyCode("SpecWoRMS_" + category.getSpecies().getWormsCode())); xml.create("SpeciesValidity", "IDREF", vocabulary.getVocabularyCode("AC_SpeciesValidity_1")); - xml.create("SampleNumber", + xml.create("SpeciesCategory", 1); - xml.create("SpeciesTotalNumber", + xml.create("SpeciesCategoryNumber", number); xml.create("WeightUnit", "IDREF", vocabulary.getVocabularyCode("AC_WeightUnit_kg")); - xml.create("SpeciesTotalWeight", + xml.create("SpeciesCategoryWeight", weight != null ? weight.intValue() : 0); xml.create("SpeciesCategory", "IDREF", vocabulary.getVocabularyCode(category.getSizeCategoryLabel(), "AC_CatchCategory_1")); // xml.create("SpeciesSex"); -// xml.create("CategoryWeight"); xml.create("SubsampledNumber", subsample.getNumberSampled()); xml.create("SubsamplingFactor", @@ -399,7 +398,7 @@ public class XmlBioticExport implements EchoBaseService { dataValues.get(SampleDataTypeImpl.SPECIMEN_INDEX).intValue()); xml.create("LengthCode", "IDREF", vocabulary.getVocabularyCode("AC_LengthCode_mm")); - xml.create("IndividualLength", + xml.create("LengthClass", dataValues.get("Lcm") != null ? new Float(dataValues.get("Lcm") * 10).intValue() : 0); xml.create("WeightUnit", "IDREF", vocabulary.getVocabularyCode("AC_WeightUnit_gr")); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm