File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed
Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 1212 - uses : actions/checkout@v2
1313 - name : Build documentation
1414 uses : zakodium/documentationjs-action@v1
15+ with :
16+ entry : src/index.js
1517 - name : Deploy to GitHub pages
1618 uses : JamesIves/github-pages-deploy-action@releases/v4
1719 with :
Original file line number Diff line number Diff line change 11name : Deploy build on lactame.com
22
33on :
4+ workflow_dispatch :
45 release :
56 types : [published]
67
8+ env :
9+ NODE_VERSION : 24.x
10+
711jobs :
812 deploy :
913 runs-on : ubuntu-latest
1014 steps :
1115 - uses : actions/checkout@v2
1216 - name : Get package name
13- run : echo "PACKAGENAME =$(jq .name package.json | tr -d '"')" >> $GITHUB_ENV
14- - uses : actions/setup-node@v2-beta
17+ run : echo "PACKAGE_NAME =$(jq .name package.json | tr -d '"')" >> $GITHUB_ENV
18+ - uses : actions/setup-node@v2
1519 with :
16- node-version : 14.x
20+ node-version : ${{ env.NODE_VERSION }}
1721 - name : Install dependencies
1822 run : npm install
1923 - name : Build project
2226 uses : zakodium/lactame-action@v1
2327 with :
2428 token : ${{ secrets.LACTAME_TOKEN }}
25- name : " ${{env.PACKAGENAME}} "
29+ name : ${{ env.PACKAGE_NAME }}
2630 folder : dist
Original file line number Diff line number Diff line change 11import { getNormalizedSpectrum } from 'common-spectrum' ;
22import { matrixZRescale , xyIntegration } from 'ml-spectra-processing' ;
33/**
4- *
4+ * We integrate the spectra from 'from' to 'to' and create a matrix
55 * @param {object } analysis
66 * @param {object } [options={}]
7- * @param {number } [options.from]
8- * @param {number } [options.to]
7+ * @param {number } [options.from] - from Raman shift
8+ * @param {number } [options.to] - to Raman shift
99 * @param {object } [options.rescale={}]
1010 * @param {number } [options.rescale.min]
1111 * @param {number } [options.rescale.max]
You can’t perform that action at this time.
0 commit comments