From 461cbeaeb29340bbbd5f63ec49a151bc92ff6418 Mon Sep 17 00:00:00 2001 From: Luc Patiny Date: Tue, 30 Apr 2024 09:50:47 +0200 Subject: [PATCH] chore: rename branch to main --- .github/workflows/nodejs.yml | 4 +--- .github/workflows/release.yml | 2 +- README.md | 2 +- lib/index.js | 4 ++-- src/index.js | 2 +- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 7bf5843..2e2007c 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -3,12 +3,10 @@ name: Node.js CI on: push: branches: - - master + - main pull_request: jobs: nodejs: # Documentation: https://github.com/zakodium/workflows#nodejs-ci uses: zakodium/workflows/.github/workflows/nodejs.yml@nodejs-v1 - with: - node-version-matrix: '[14, 16, 18]' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 23bb3c4..ba10821 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Release on: push: branches: - - master + - main jobs: release: diff --git a/README.md b/README.md index 4753e96..56fddc3 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Baseline correction using adaptive iteratively reweighted penalized least squares -It is an javascript implementation of [airpls](https://github.com/zmzhang/airPLS/blob/master/airPLS_manuscript.pdf) using cholesky decomposition and reverse Cuthill-Mckee method for reducing the bandwidth of sparse linear systems, obtaining a fast baseline fitter. +It is an javascript implementation of [airpls](https://github.com/zmzhang/airPLS/blob/main/airPLS_manuscript.pdf) using cholesky decomposition and reverse Cuthill-Mckee method for reducing the bandwidth of sparse linear systems, obtaining a fast baseline fitter. ## Installation diff --git a/lib/index.js b/lib/index.js index 2ab3c9b..bd59948 100644 --- a/lib/index.js +++ b/lib/index.js @@ -2,7 +2,7 @@ var cuthillMckee = require('cuthill-mckee'); -function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } +function _interopDefaultLegacy(e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } var cuthillMckee__default = /*#__PURE__*/_interopDefaultLegacy(cuthillMckee); @@ -359,7 +359,7 @@ const getDeltaMatrix = (nbPoints, lambda) => { /** * Fit the baseline drift by iteratively changing weights of sum square error between the fitted baseline and original signals, - * for further information about the parameters you can get the [paper of airPLS](https://github.com/zmzhang/airPLS/blob/master/airPLS_manuscript.pdf) + * for further information about the parameters you can get the [paper of airPLS](https://github.com/zmzhang/airPLS/blob/main/airPLS_manuscript.pdf) * @param {Array} x - x axis data useful when control points or zones are submitted * @param {Array} y - Original data * @param {object} [options={}] - Options object diff --git a/src/index.js b/src/index.js index 0116cb9..5ef9cf0 100644 --- a/src/index.js +++ b/src/index.js @@ -3,7 +3,7 @@ import { updateSystem, getDeltaMatrix, getCloseIndex } from './utils'; /** * Fit the baseline drift by iteratively changing weights of sum square error between the fitted baseline and original signals, - * for further information about the parameters you can get the [paper of airPLS](https://github.com/zmzhang/airPLS/blob/master/airPLS_manuscript.pdf) + * for further information about the parameters you can get the [paper of airPLS](https://github.com/zmzhang/airPLS/blob/main/airPLS_manuscript.pdf) * @param {Array} x - x axis data useful when control points or zones are submitted * @param {Array} y - Original data * @param {object} [options={}] - Options object