Skip to content

Commit

Permalink
Merge pull request #67 from gogepp/dev
Browse files Browse the repository at this point in the history
Release 0.4.14
  • Loading branch information
mboudet authored Apr 5, 2024
2 parents 33bde0a + 71fc8e6 commit 8213a22
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions imports/api/genes/hectar/addHectar.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,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(',');
}
}
Expand Down

0 comments on commit 8213a22

Please sign in to comment.