https://github.com/hms-dbmi/higlass
- HEAD
- refs/heads/alexander-veit/add-axis-label-option
- refs/heads/alexander-veit/close-viewconf-issue
- refs/heads/alexander-veit/http-server-mocking
- refs/heads/alexander-veit/mocking-of-http-requests
- refs/heads/alexpreynolds-server-doc-patch
- refs/heads/aveit-enable-click
- refs/heads/bedlike-intervals
- refs/heads/chromsizes-option
- refs/heads/chromsizes2
- refs/heads/click-event
- refs/heads/dependabot/npm_and_yarn/d3-color-3.1.0
- refs/heads/develop
- refs/heads/drag-highlighting
- refs/heads/etowahadams/type-utils
- refs/heads/export-data
- refs/heads/fetcher-worker
- refs/heads/flekschas/bombastify-color-buffer
- refs/heads/flekschas/dark-theme
- refs/heads/flekschas/fix-mouse-move-zoom-api
- refs/heads/flekschas/improve-2d-annotations
- refs/heads/flekschas/remove-react-bootstrap
- refs/heads/flekschas/support-old-mapbox-tiles
- refs/heads/flekschas/updates-for-peax
- refs/heads/forwarded-events
- refs/heads/genome-position-search-box-select
- refs/heads/heatmap-by-bounds
- refs/heads/heatmap-by-bounds2
- refs/heads/issue-814-patch
- refs/heads/keller-mark/aggregation-post-api-and-file-url-bigwig-with-rowinfo
- refs/heads/keller-mark/emit-on-track-resize
- refs/heads/keller-mark/overlay-editable-track
- refs/heads/keller-mark/plugintrack-state-bug
- refs/heads/keller-mark/publish-ids-with-wheel-events
- refs/heads/keller-mark/select-rows-agg
- refs/heads/keller-mark/serverless-zarr-multivec
- refs/heads/manzt/abstract-fetcher
- refs/heads/manzt/relocate-test-utils
- refs/heads/manzt/safe-assign-tile-response-data
- refs/heads/manzt/stacked-data-fetcher
- refs/heads/mccalluc/screenshots-of-examples
- refs/heads/merge-overlay-tracks
- refs/heads/nan-as-zero
- refs/heads/negative-bounds-zooming
- refs/heads/non-triangular
- refs/heads/overlay-tracks
- refs/heads/peax
- refs/heads/pkerpedjiev/2d-tiles-no-maxwidth
- refs/heads/pkerpedjiev/all-linked-selection
- refs/heads/pkerpedjiev/bam-fetcher
- refs/heads/pkerpedjiev/docs-updates
- refs/heads/pkerpedjiev/docs-updates-1
- refs/heads/pkerpedjiev/docs-updates-1-1
- refs/heads/pkerpedjiev/fetcher-worker
- refs/heads/pkerpedjiev/fileurl-docs
- refs/heads/pkerpedjiev/gene-on-click
- refs/heads/pkerpedjiev/hide-track-chooser-fix
- refs/heads/pkerpedjiev/limited-select-brush
- refs/heads/pkerpedjiev/loading-text
- refs/heads/pkerpedjiev/nan-value-scale
- refs/heads/pkerpedjiev/on-zoom-to-data
- refs/heads/pkerpedjiev/promise-api
- refs/heads/pkerpedjiev/react17
- refs/heads/pkerpedjiev/react18
- refs/heads/pkerpedjiev/register-url-1
- refs/heads/pkerpedjiev/remote-annotations
- refs/heads/pkerpedjiev/remove-1d-heatmap
- refs/heads/pkerpedjiev/remove-component-will-mount
- refs/heads/pkerpedjiev/render-promoters
- refs/heads/pkerpedjiev/replace-tileposanddimensions-with-trackutils
- refs/heads/pkerpedjiev/run-prettier
- refs/heads/pkerpedjiev/simple-svg-track
- refs/heads/pkerpedjiev/test-fix-attempt
- refs/heads/pkerpedjiev/test-x
- refs/heads/pkerpedjiev/update-docs
- refs/heads/pkerpedjiev/value-scale-and-track-utils
- refs/heads/pkerpedjiev/visible_tiles_bins_per_dim
- refs/heads/pkerpedjiev/warn-about-unknown-orientation
- refs/heads/pkerpedjiev/webpack5
- refs/heads/pkerpedjiev/workers-attempt
- refs/heads/pkerpedjiev/xvfb-fixes
- refs/heads/pre-new-track
- refs/heads/propagate-on-click
- refs/heads/remove-react-bootstrap-from-index-html
- refs/heads/scss-updates
- refs/heads/sehilyi/default-zoomlimit
- refs/heads/sehilyi/gene-search-api
- refs/heads/sehilyi/gene-suggestion-api
- refs/heads/sehilyi/layout-vertical-compact
- refs/heads/sehilyi/non-center-track
- refs/heads/sehilyi/plugin-brush-test
- refs/heads/sehilyi/pnpm
- refs/heads/sehilyi/properly-initialize-brush-style
- refs/heads/sehilyi/react-18
- refs/heads/sehilyi/react-dependency
- refs/heads/sehilyi/readable-vertical-labels
- refs/heads/sehilyi/refactor-2
- refs/heads/sehilyi/refactor-core
- refs/heads/sehilyi/rgl-allow-overlap
- refs/heads/sehilyi/tileset-failed-text
- refs/heads/selection-tracks
- refs/heads/test-track-source-servers
- refs/heads/threading
- refs/heads/update-docs
- refs/heads/v1.7
- refs/heads/v1.7.0
- refs/heads/vertical-sections
- refs/tags/adjustable-domain
- refs/tags/canvas-zooming
- refs/tags/comparison-view
- refs/tags/debug-mode
- refs/tags/demo-ismb
- refs/tags/elasticsearch
- refs/tags/hi-pixi
- refs/tags/merge-with-goomba
- refs/tags/mirror2-tiles
- refs/tags/multiple-datasets
- refs/tags/no-flickering-text
- refs/tags/page-prototype
- refs/tags/shitty-css
- refs/tags/simple-frontpage
- refs/tags/simpler-tracks
- refs/tags/threaded-tile-loading
- refs/tags/v0.1
- refs/tags/v0.10.18
- refs/tags/v0.10.4
- refs/tags/v0.10.7
- refs/tags/v0.5.2
- refs/tags/v0.5.3
- refs/tags/v1.0.0
- refs/tags/v1.0.0-alpha.10
- refs/tags/v1.0.0-alpha.11
- refs/tags/v1.0.0-alpha.12
- refs/tags/v1.0.0-alpha.3
- refs/tags/v1.0.0-alpha.4
- refs/tags/v1.0.0-alpha.5
- refs/tags/v1.0.0-alpha.6
- refs/tags/v1.0.0-alpha.7
- refs/tags/v1.0.0-alpha.8
- refs/tags/v1.0.0-alpha.9
- refs/tags/v1.0.3
- refs/tags/v1.11.3
- refs/tags/v1.11.8
- refs/tags/v1.3.0
- refs/tags/v1.3.0-rc.4
- refs/tags/v1.3.0-rc.5
- refs/tags/v1.3.0-rc2
- refs/tags/v1.8.0
- refs/tags/v1.8.2
- refs/tags/v1.8.3
- refs/tags/v1.8.5
- refs/tags/v1.9.1-rg1
- refs/tags/v1.9.1.rg1
- refs/tags/v1.9.3
- v1.9.5
- v1.9.4
- v1.9.2
- v1.9.1
- v1.9.0
- v1.8.4
- v1.8.1
- v1.7.2
- v1.7.1
- v1.7.0
- v1.6.9
- v1.6.8
- v1.6.7
- v1.6.6
- v1.6.5
- v1.6.4
- v1.6.3
- v1.6.2
- v1.6.12
- v1.6.11
- v1.6.10
- v1.6.1
- v1.6.0
- v1.5.8
- v1.5.7
- v1.5.6
- v1.5.5
- v1.5.4
- v1.5.3
- v1.5.2
- v1.5.1
- v1.5.0
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.1
- v1.3.0-rc1
- v1.3.0-rc.3
- v1.3.0-rc.2
- v1.2.8
- v1.2.7
- v1.2.6
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.13.4
- v1.13.3
- v1.13.2
- v1.13.1
- v1.13.0
- v1.12.4
- v1.12.3
- v1.12.2
- v1.12.1
- v1.12.0
- v1.11.9
- v1.11.7
- v1.11.6
- v1.11.5
- v1.11.4
- v1.11.2
- v1.11.11
- v1.11.10
- v1.11.1
- v1.11.0
- v1.10.2
- v1.10.1
- v1.10.0
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.4
- v1.0.2
- v1.0.1
- v1.0.0-alpha.2
- v1.0.0-alpha.1
- v0.9.9
- v0.9.8
- v0.9.7
- v0.9.6
- v0.9.4
- v0.9.3
- v0.9.2
- v0.9.15
- v0.9.14
- v0.9.13
- v0.9.12
- v0.9.11
- v0.9.10
- v0.9.1
- v0.9.0
- v0.8.9
- v0.8.8
- v0.8.7
- v0.8.6
- v0.8.5
- v0.8.45
- v0.8.44
- v0.8.43
- v0.8.42
- v0.8.41
- v0.8.40
- v0.8.4
- v0.8.39
- v0.8.38
- v0.8.37
- v0.8.36
- v0.8.35
- v0.8.34
- v0.8.33
- v0.8.32
- v0.8.31
- v0.8.30
- v0.8.3
- v0.8.29
- v0.8.28
- v0.8.27
- v0.8.26
- v0.8.25
- v0.8.24
- v0.8.23
- v0.8.22
- v0.8.21
- v0.8.20
- v0.8.2
- v0.8.19
- v0.8.18
- v0.8.17
- v0.8.16
- v0.8.15
- v0.8.14
- v0.8.13
- v0.8.12
- v0.8.11
- v0.8.10
- v0.8.1
- v0.8.0
- v0.7.3
- v0.7.2
- v0.7.1
- v0.7.0
- v0.6.8
- v0.6.7
- v0.6.6
- v0.6.5
- v0.6.4
- v0.6.3
- v0.6.2
- v0.6.1
- v0.6.0
- v0.5.9
- v0.5.8
- v0.5.7
- v0.5.6
- v0.5.5
- v0.5.4
- v0.5.16
- v0.5.15
- v0.5.14
- v0.5.13
- v0.5.12
- v0.5.11
- v0.5.10
- v0.5.1
- v0.5.0
- v0.4.9
- v0.4.8
- v0.4.7
- v0.4.6
- v0.4.5
- v0.4.4
- v0.4.39
- v0.4.38
- v0.4.37
- v0.4.36
- v0.4.35
- v0.4.34
- v0.4.33
- v0.4.32
- v0.4.31
- v0.4.30
- v0.4.3
- v0.4.29
- v0.4.28
- v0.4.27
- v0.4.26
- v0.4.25
- v0.4.24
- v0.4.23
- v0.4.22
- v0.4.21
- v0.4.20
- v0.4.2
- v0.4.19
- v0.4.18
- v0.4.17
- v0.4.16
- v0.4.15
- v0.4.14
- v0.4.13
- v0.4.12
- v0.4.11
- v0.4.10
- v0.4.1
- v0.4.0
- v0.3.0
- v0.2.4
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.10.9
- v0.10.6
- v0.10.5
- v0.10.3
- v0.10.22
- v0.10.21
- v0.10.20
- v0.10.2
- v0.10.19
- v0.10.17
- v0.10.16
- v0.10.15
- v0.10.14
- v0.10.13
- v0.10.12
- v0.10.11
- v0.10.10
- v0.10.1-0
- v0.10.1
- v0.10.0-0
- v0.10.0
- v0.1.1
Raw File
Take a new snapshot of a software origin
If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.
Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.![swh spinner](/static/img/swh-spinner.gif)
Processing "take a new snapshot" request ...
Permalinks
To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.
Tip revision: b2ee5940c519982dc53685153ff863d64443d0bb authored by sehilyi on 16 May 2023, 17:53:40 UTC
1.12.4
1.12.4
Tip revision: b2ee594
ndarray-assign.spec.js
/* eslint-env mocha */
import { expect } from 'chai';
import ndarray from 'ndarray';
import ndarrayAssign from '../app/scripts/utils/ndarray-assign';
describe('ndarrayAssign()', () => {
let v;
beforeEach(() => {
v = ndarray(new Array(3).fill(0).map((x, i) => i));
});
it('can assign a scalar to a vector', () => {
ndarrayAssign(v, 1);
expect(v.data).to.deep.equal([1, 1, 1]);
});
it('can assign a scalar to a matrix', () => {
const z = ndarray(new Array(3 * 4).fill(0), [3, 4]);
ndarrayAssign(z.hi(2, 3).lo(1, 1), 1);
expect(z.data).to.deep.equal([0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0]);
});
it('can assign a vector to another', () => {
ndarrayAssign(v, ndarray([2, 3, 4]));
expect(v.data).to.deep.equal([2, 3, 4]);
});
it('can assign a matrix to another matrix', () => {
const a = ndarray(
new Array(4).fill(0).map((x, i) => i + 1),
[2, 2],
);
const z = ndarray(new Array(4 * 4).fill(0), [4, 4]);
ndarrayAssign(z.hi(3, 3).lo(1, 1), a);
expect(z.data).to.deep.equal([
0, 0, 0, 0, 0, 1, 2, 0, 0, 3, 4, 0, 0, 0, 0, 0,
]);
});
});