Skip to content

Commit

Permalink
Merge pull request #137 from abbvie-external/fix-min-max
Browse files Browse the repository at this point in the history
Fix scatter plot min/max calculation
  • Loading branch information
paulnordlund authored Aug 28, 2024
2 parents 218172e + a8013df commit b8d6bab
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "omicnavigatorwebapp",
"version": "1.9.5",
"version": "1.9.6",
"private": true,
"dependencies": {
"@observablehq/stdlib": "^5.6.1",
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"short_name": "OmicNavigator",
"name": "OmicNavigator",
"version": "1.9.5",
"version": "1.9.6",
"icons": [
{
"src": "favicon.ico",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Shared/helpers.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ export const reviseLayout = (layout, width, height, plotId) => {
export function getMaxAndMin(data, element, doTransform) {
if (!data.length) return [0, 0];
const arrayOfNumbers = [];
for (var i = 1; i < data.length; i++) {
for (var i = 0; i < data.length; i++) {
if (
data[i] != null &&
data[i][element] != null &&
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tabs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class Tabs extends Component {
differentialFeatureIdKey: '',
filteredDifferentialFeatureIdKey: '',
// when updating the app version, change one line in 3 files: package.json, manifest.json and Tabs.jsx
appVersion: '1.9.5',
appVersion: '1.9.6',
packageVersion: '',
infoOpenFirst: false,
infoOpenSecond: false,
Expand Down

0 comments on commit b8d6bab

Please sign in to comment.