From 97ba48c4fa52a942288423ce346756825748ce15 Mon Sep 17 00:00:00 2001 From: mboudet Date: Fri, 9 Feb 2024 16:53:25 +0100 Subject: [PATCH 1/4] Add bundle back to test --- .github/workflows/test.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f1db61d..00c271bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,3 +18,16 @@ jobs: run: npm install - name: npm test run: npm test + + bundle: + name: npm run bundle + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v4 + with: + node-version: 15 + - name: npm install + run: npm install + - name: npm create bundle + run: npm run bundle From 24962968b3d2278d24d27170c64f111b1cf2704b Mon Sep 17 00:00:00 2001 From: Kamassau Date: Tue, 26 Mar 2024 12:11:39 +0100 Subject: [PATCH 2/4] Fix hectar loader --- imports/api/genes/hectar/addHectar.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/imports/api/genes/hectar/addHectar.js b/imports/api/genes/hectar/addHectar.js index eaa7bd4e..f81a9889 100644 --- a/imports/api/genes/hectar/addHectar.js +++ b/imports/api/genes/hectar/addHectar.js @@ -23,6 +23,7 @@ class HectarProcessor { * hectar. */ getNumberHectar() { + console.log("TEST CONSOLE.LOG") return this.nHectar; } @@ -57,10 +58,10 @@ class HectarProcessor { // Filters undefined data (with a dash) and splits into an array for // comma-separated data. for (const [key, value] of Object.entries(annotations)) { - if (value[0] === '-') { + if (value === undefined || value[0] === '-') { annotations[key] = undefined; } - if (value.indexOf(',') > -1) { + if (value !== undefined && value.indexOf(',') > -1) { annotations[key] = value.split(','); } } From c84d16db736053c1c5a11b423590eb5a3cd525e0 Mon Sep 17 00:00:00 2001 From: Kamassau Date: Tue, 26 Mar 2024 12:13:46 +0100 Subject: [PATCH 3/4] Remove print --- imports/api/genes/hectar/addHectar.js | 1 - 1 file changed, 1 deletion(-) diff --git a/imports/api/genes/hectar/addHectar.js b/imports/api/genes/hectar/addHectar.js index f81a9889..8f961a79 100644 --- a/imports/api/genes/hectar/addHectar.js +++ b/imports/api/genes/hectar/addHectar.js @@ -23,7 +23,6 @@ class HectarProcessor { * hectar. */ getNumberHectar() { - console.log("TEST CONSOLE.LOG") return this.nHectar; } From 71fc8e6f78adb561a65a291b2c24fd0b7c0352e5 Mon Sep 17 00:00:00 2001 From: mboudet Date: Thu, 4 Apr 2024 16:00:51 +0200 Subject: [PATCH 4/4] Update CHANGELOG.md --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ed7650a..13272715 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html) +## [0.4.14] 2024-04-04 + +### Fixed + +- Hectar loader + ## [0.4.13] 2024-02-05 ### Added