From 846542f08679ff355ca9f379a883a47d8f5b6faf Mon Sep 17 00:00:00 2001 From: Kevin Tun Date: Tue, 2 Jun 2020 14:41:22 -0500 Subject: [PATCH 1/3] fixed URL query update when zooming out of labelled subtree --- report.20200529.174745.11449.0.001.json | 739 ++++++++++++++++++ report.20200529.180046.16612.0.001.json | 739 ++++++++++++++++++ .../tree/reactD3Interface/callbacks.js | 7 +- 3 files changed, 1483 insertions(+), 2 deletions(-) create mode 100644 report.20200529.174745.11449.0.001.json create mode 100644 report.20200529.180046.16612.0.001.json diff --git a/report.20200529.174745.11449.0.001.json b/report.20200529.174745.11449.0.001.json new file mode 100644 index 000000000..9c48ef23e --- /dev/null +++ b/report.20200529.174745.11449.0.001.json @@ -0,0 +1,739 @@ + +{ + "header": { + "reportVersion": 2, + "event": "Allocation failed - JavaScript heap out of memory", + "trigger": "FatalError", + "filename": "report.20200529.174745.11449.0.001.json", + "dumpEventTime": "2020-05-29T17:47:45Z", + "dumpEventTimeStamp": "1590792465773", + "processId": 11449, + "threadId": null, + "cwd": "/home/kevin/repos/auspice", + "commandLine": [ + "node", + "auspice.js", + "develop", + "--verbose" + ], + "nodejsVersion": "v12.16.2", + "glibcVersionRuntime": "2.27", + "glibcVersionCompiler": "2.17", + "wordSize": 64, + "arch": "x64", + "platform": "linux", + "componentVersions": { + "node": "12.16.2", + "v8": "7.8.279.23-node.34", + "uv": "1.34.2", + "zlib": "1.2.11", + "brotli": "1.0.7", + "ares": "1.15.0", + "modules": "72", + "nghttp2": "1.40.0", + "napi": "5", + "llhttp": "2.0.4", + "http_parser": "2.9.3", + "openssl": "1.1.1e", + "cldr": "36.0", + "icu": "65.1", + "tz": "2019c", + "unicode": "12.1" + }, + "release": { + "name": "node", + "lts": "Erbium", + "headersUrl": "https://nodejs.org/download/release/v12.16.2/node-v12.16.2-headers.tar.gz", + "sourceUrl": "https://nodejs.org/download/release/v12.16.2/node-v12.16.2.tar.gz" + }, + "osName": "Linux", + "osRelease": "4.15.0-101-generic", + "osVersion": "#102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020", + "osMachine": "x86_64", + "cpus": [ + { + "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", + "speed": 2400, + "user": 8697000, + "nice": 28300, + "sys": 1838800, + "idle": 113970000, + "irq": 0 + }, + { + "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", + "speed": 2400, + "user": 8909400, + "nice": 29000, + "sys": 1796600, + "idle": 113863900, + "irq": 0 + }, + { + "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", + "speed": 2400, + "user": 9322700, + "nice": 48000, + "sys": 1990800, + "idle": 113304100, + "irq": 0 + }, + { + "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", + "speed": 2400, + "user": 8879700, + "nice": 29900, + "sys": 1822000, + "idle": 113146500, + "irq": 0 + }, + { + "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", + "speed": 2400, + "user": 8541400, + "nice": 31000, + "sys": 1751800, + "idle": 114276400, + "irq": 0 + }, + { + "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", + "speed": 2400, + "user": 8261600, + "nice": 27100, + "sys": 1927000, + "idle": 113667700, + "irq": 0 + }, + { + "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", + "speed": 2400, + "user": 8814100, + "nice": 32000, + "sys": 2103800, + "idle": 113716500, + "irq": 0 + }, + { + "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", + "speed": 2400, + "user": 8360200, + "nice": 28700, + "sys": 1943100, + "idle": 114096000, + "irq": 0 + } + ], + "networkInterfaces": [ + { + "name": "lo", + "internal": true, + "mac": "00:00:00:00:00:00", + "address": "127.0.0.1", + "netmask": "255.0.0.0", + "family": "IPv4" + }, + { + "name": "wlp2s0", + "internal": false, + "mac": "c0:b6:f9:8a:e6:3e", + "address": "10.0.0.73", + "netmask": "255.255.255.0", + "family": "IPv4" + }, + { + "name": "lo", + "internal": true, + "mac": "00:00:00:00:00:00", + "address": "::1", + "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", + "family": "IPv6", + "scopeid": 0 + }, + { + "name": "wlp2s0", + "internal": false, + "mac": "c0:b6:f9:8a:e6:3e", + "address": "2601:249:8b80:76d0::39ab", + "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", + "family": "IPv6", + "scopeid": 0 + }, + { + "name": "wlp2s0", + "internal": false, + "mac": "c0:b6:f9:8a:e6:3e", + "address": "2601:249:8b80:76d0:8977:e406:b38a:286", + "netmask": "ffff:ffff:ffff:ffff::", + "family": "IPv6", + "scopeid": 0 + }, + { + "name": "wlp2s0", + "internal": false, + "mac": "c0:b6:f9:8a:e6:3e", + "address": "2601:249:8b80:76d0:55b6:5467:cb8e:e6c", + "netmask": "ffff:ffff:ffff:ffff::", + "family": "IPv6", + "scopeid": 0 + }, + { + "name": "wlp2s0", + "internal": false, + "mac": "c0:b6:f9:8a:e6:3e", + "address": "fe80::4545:26d8:96c5:6d00", + "netmask": "ffff:ffff:ffff:ffff::", + "family": "IPv6", + "scopeid": 2 + } + ], + "host": "kevin-spectre" + }, + "javascriptStack": { + "message": "No stack.", + "stack": [ + "Unavailable." + ] + }, + "nativeStack": [ + { + "pc": "0x0000000000b40285", + "symbol": "report::TriggerNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, std::string const&, v8::Local) [node]" + }, + { + "pc": "0x0000000000a033ef", + "symbol": "node::OnFatalError(char const*, char const*) [node]" + }, + { + "pc": "0x0000000000b76ffe", + "symbol": "v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]" + }, + { + "pc": "0x0000000000b77379", + "symbol": "v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]" + }, + { + "pc": "0x0000000000d23ad5", + "symbol": " [node]" + }, + { + "pc": "0x0000000000d24166", + "symbol": "v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]" + }, + { + "pc": "0x0000000000d309e5", + "symbol": "v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]" + }, + { + "pc": "0x0000000000d31895", + "symbol": "v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]" + }, + { + "pc": "0x0000000000d3434c", + "symbol": "v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]" + }, + { + "pc": "0x0000000000cfaf1b", + "symbol": "v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]" + }, + { + "pc": "0x000000000103d85e", + "symbol": "v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]" + }, + { + "pc": "0x00000000013c03d9", + "symbol": " [node]" + } + ], + "javascriptHeap": { + "totalMemory": 2148728832, + "totalCommittedMemory": 2147385624, + "usedMemory": 2137950464, + "availableMemory": 54392424, + "memoryLimit": 2197815296, + "heapSpaces": { + "read_only_space": { + "memorySize": 262144, + "committedMemory": 33088, + "capacity": 32808, + "used": 32808, + "available": 0 + }, + "new_space": { + "memorySize": 2097152, + "committedMemory": 1294832, + "capacity": 1047456, + "used": 310256, + "available": 737200 + }, + "old_space": { + "memorySize": 2050629632, + "committedMemory": 2050492144, + "capacity": 2046893184, + "used": 2043371880, + "available": 3521304 + }, + "code_space": { + "memorySize": 3051520, + "committedMemory": 2877568, + "capacity": 2677056, + "used": 2677056, + "available": 0 + }, + "map_space": { + "memorySize": 3674112, + "committedMemory": 3673720, + "capacity": 2871600, + "used": 2871600, + "available": 0 + }, + "large_object_space": { + "memorySize": 88391680, + "committedMemory": 88391680, + "capacity": 88142320, + "used": 88142320, + "available": 0 + }, + "code_large_object_space": { + "memorySize": 622592, + "committedMemory": 622592, + "capacity": 544544, + "used": 544544, + "available": 0 + }, + "new_large_object_space": { + "memorySize": 0, + "committedMemory": 0, + "capacity": 1047456, + "used": 0, + "available": 1047456 + } + } + }, + "resourceUsage": { + "userCpuSeconds": 192.17, + "kernelCpuSeconds": 5.002, + "cpuConsumptionPercent": 3.67652, + "maxRss": 2266832896, + "pageFaults": { + "IORequired": 85, + "IONotRequired": 1071840 + }, + "fsActivity": { + "reads": 44616, + "writes": 16 + } + }, + "uvthreadResourceUsage": { + "userCpuSeconds": 89.3551, + "kernelCpuSeconds": 1.81098, + "cpuConsumptionPercent": 1.69991, + "fsActivity": { + "reads": 27384, + "writes": 16 + } + }, + "libuv": [ + ], + "workers": [ + ], + "environmentVariables": { + "LESSOPEN": "| /usr/bin/lesspipe %s", + "npm_package_dependencies__babel_plugin_transform_runtime": "^7.8.3", + "npm_package_dependencies_papaparse": "^4.3.5", + "npm_package_dependencies_regenerator_runtime": "^0.13.5", + "npm_config_cache_lock_stale": "60000", + "npm_config_ham_it_up": "", + "CONDA_PROMPT_MODIFIER": "(base) ", + "npm_package_scripts_smoke_test": "NODE_ENV=test ENV=dev jest ./test/smoke-test/urls.test.js --config puppeteer.config.js", + "npm_config_legacy_bundling": "", + "npm_config_sign_git_tag": "", + "USER": "kevin", + "npm_package_scripts_build_docs": "echo 'see ./docs-src/README.md'", + "npm_package_dependencies__babel_preset_react": "^7.0.0", + "npm_package_devDependencies_jest": "^25.1.0", + "npm_config_user_agent": "npm/6.14.4 node/v12.16.2 linux x64", + "npm_config_always_auth": "", + "TEXTDOMAIN": "im-config", + "XDG_SEAT": "seat0", + "npm_package_dependencies__babel_plugin_proposal_decorators": "^7.3.0", + "npm_package_dependencies_binomial": "^0.2.0", + "npm_package_dependencies_react_tweet_embed": "^1.1.0", + "npm_package_bugs_url": "https://github.com/nextstrain/auspice/issues", + "npm_config_bin_links": "true", + "npm_config_key": "", + "SSH_AGENT_PID": "1595", + "XDG_SESSION_TYPE": "x11", + "npm_package_dependencies__babel_core": "^7.3.4", + "npm_package_dependencies_d3_scale": "^1.0.5", + "npm_package_dependencies_node_fetch": "^2.1.2", + "npm_package_devDependencies_puppeteer": "^2.1.1", + "npm_config_allow_same_version": "", + "npm_config_description": "true", + "npm_config_fetch_retries": "2", + "npm_config_heading": "npm", + "npm_config_if_present": "", + "npm_config_init_version": "1.0.0", + "npm_config_user": "", + "npm_node_execpath": "/usr/local/bin/node", + "SHLVL": "3", + "npm_package_dependencies_clean_webpack_plugin": "^3.0.0", + "npm_package_dependencies_html_webpack_plugin": "^4.3.0", + "npm_package_devDependencies_chai_http": "^4.0.0", + "npm_package_devDependencies_jest_circus": "^25.3.0", + "npm_config_prefer_online": "", + "npm_config_noproxy": "", + "CONDA_SHLVL": "1", + "OLDPWD": "/home/kevin/repos/auspice/data", + "QT4_IM_MODULE": "xim", + "HOME": "/home/kevin", + "npm_package_dependencies_babel_plugin_strip_function_call": "^1.0.2", + "npm_package_dependencies_d3_collection": "^1.0.4", + "npm_package_dependencies_whatwg_fetch": "^0.10.1", + "npm_config_force": "", + "DESKTOP_SESSION": "ubuntu", + "TERM_PROGRAM_VERSION": "1.36.0", + "npm_package_scripts_server": "npm run view", + "npm_package_dependencies_linspace": "^1.0.0", + "npm_config_only": "", + "npm_config_read_only": "", + "npm_package_engines_node": "10.8.x", + "npm_package_dependencies_lodash_webpack_plugin": "^0.11.5", + "npm_package_devDependencies_chai": "^4.1.2", + "npm_config_cache_min": "10", + "npm_config_init_license": "ISC", + "GNOME_SHELL_SESSION_MODE": "ubuntu", + "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true", + "GTK_MODULES": "gail:atk-bridge", + "npm_package_scripts_integration_test_ci": "start-server-and-test server http://localhost:4000 integration-test", + "npm_package_dependencies_express_static_gzip": "^0.2.2", + "npm_package_dependencies_prettyjson": "^1.2.1", + "npm_config_editor": "vi", + "npm_config_rollback": "true", + "npm_config_tag_version_prefix": "v", + "npm_package_scripts_lint_fix": "eslint --fix src", + "npm_package_dependencies_leaflet": "^1.6.0", + "npm_package_dependencies_leaflet_gesture_handling": "^1.1.8", + "npm_package_dependencies_react_i18next": "^11.3.3", + "npm_package_dependencies_react_icons": "^3.9.0", + "npm_package_dependencies_redux_thunk": "^2.3.0", + "npm_package_dependencies_webpack": "^4.30.0", + "npm_config_cache_max": "Infinity", + "npm_config_timing": "", + "npm_config_userconfig": "/home/kevin/.npmrc", + "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus", + "npm_package_scripts_postinstall": "npm run create-data-dir", + "npm_package_dependencies_babel_plugin_lodash": "^3.3.4", + "npm_package_dependencies_compression": "^1.7.3", + "npm_package_dependencies_express_naked_redirect": "^0.1.2", + "npm_package_devDependencies_eslint_plugin_react_hooks": "^1.6.0", + "npm_config_engine_strict": "", + "npm_config_init_author_name": "", + "npm_config_init_author_url": "", + "npm_config_preid": "", + "npm_config_tmp": "/tmp", + "COLORTERM": "truecolor", + "_CE_M": "", + "npm_package_description": "Web app for visualizing pathogen evolution", + "npm_package_dependencies_d3_interpolate": "^1.1.5", + "npm_package_dependencies_i18next": "^19.3.2", + "npm_config_depth": "Infinity", + "npm_config_package_lock_only": "", + "npm_config_save_dev": "", + "npm_config_usage": "", + "npm_package_homepage": "https://www.npmjs.com/package/auspice", + "npm_package_scripts_get_data": "env bash ./scripts/get-data.sh", + "npm_package_dependencies_argparse": "^1.0.10", + "npm_package_dependencies_d3_shape": "^1.2.0", + "npm_package_dependencies_webpack_dev_middleware": "^3.1.3", + "npm_package_readmeFilename": "README.md", + "npm_config_metrics_registry": "https://registry.npmjs.org/", + "npm_config_cafile": "", + "npm_config_otp": "", + "npm_config_package_lock": "true", + "npm_config_progress": "true", + "npm_config_https_proxy": "", + "npm_config_save_prod": "", + "MANDATORY_PATH": "/usr/share/gconf/ubuntu.mandatory.path", + "IM_CONFIG_PHASE": "2", + "npm_package_scripts_dev": "node auspice.js develop --verbose", + "npm_config_audit": "true", + "npm_config_cidr": "", + "npm_config_onload_script": "", + "npm_config_sso_type": "oauth", + "LOGNAME": "kevin", + "GTK_IM_MODULE": "ibus", + "npm_package_dependencies_d3_ease": "^1.0.3", + "npm_package_dependencies_d3_zoom": "^1.1.3", + "npm_package_dependencies_request": "^2.87.0", + "npm_package_devDependencies_eslint_plugin_import": "^2.13.0", + "npm_config_rebuild_bundle": "true", + "npm_config_save_bundle": "", + "npm_config_shell": "/bin/bash", + "DESKTOP_AUTOSTART_ID": "10a209672190de9c8159077991272654400000014990007", + "_": "/usr/local/bin/npm", + "npm_package_dependencies_d3_format": "^1.3.0", + "npm_package_dependencies_express": "^4.16.3", + "npm_package_dependencies_json_loader": "^0.5.1", + "npm_package_dependencies_query_string": "^4.2.3", + "npm_package_dependencies_yaml_front_matter": "^4.0.0", + "npm_config_dry_run": "", + "npm_config_format_package_lock": "true", + "npm_config_prefix": "/usr/local", + "DEFAULTS_PATH": "/usr/share/gconf/ubuntu.default.path", + "npm_package_bin_auspice": "auspice.js", + "npm_package_scripts_prepare": "npm run build", + "npm_package_scripts_lint": "eslint src", + "npm_package_dependencies_babel_plugin_styled_components": "^1.10.0", + "npm_package_dependencies_i18next_resource_store_loader": "^0.1.2", + "npm_package_devDependencies_bundlesize": "^0.18.0", + "npm_config_scope": "", + "npm_config_browser": "", + "npm_config_cache_lock_wait": "10000", + "npm_config_ignore_prepublish": "", + "npm_config_registry": "https://registry.npmjs.org/", + "npm_config_save_optional": "", + "npm_config_searchopts": "", + "npm_config_versions": "", + "USERNAME": "kevin", + "XDG_SESSION_ID": "2", + "TERM": "xterm-256color", + "npm_package_dependencies_core_js": "^3.6.5", + "npm_package_dependencies_style_loader": "^0.13.2", + "npm_config_cache": "/home/kevin/.npm", + "npm_config_proxy": "", + "npm_config_send_metrics": "", + "_CE_CONDA": "", + "GNOME_DESKTOP_SESSION_ID": "this-is-deprecated", + "npm_package_scripts_start": "npm run view", + "npm_config_global_style": "", + "npm_config_ignore_scripts": "", + "npm_config_version": "", + "WINDOWPATH": "2", + "npm_package_scripts_rebuild_docker_image": "env bash ./scripts/rebuild-docker-image.sh", + "npm_package_dependencies_css_loader": "^2.1.1", + "npm_package_dependencies_react_hot_loader": "^4.8.4", + "npm_config_local_address": "", + "npm_config_viewer": "man", + "npm_config_node_gyp": "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", + "PATH": "/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/kevin/repos/auspice/node_modules/.bin:/home/kevin/anaconda3/bin:/home/kevin/anaconda3/condabin:/home/kevin/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", + "SESSION_MANAGER": "local/kevin-spectre:@/tmp/.ICE-unix/1499,unix/kevin-spectre:/tmp/.ICE-unix/1499", + "npm_package_name": "auspice", + "npm_package_repository_type": "git", + "npm_package_scripts_view": "node auspice.js view --verbose", + "npm_package_dependencies_d3_selection": "^1.1.0", + "npm_package_dependencies_react_ga": "^2.2.0", + "npm_config_audit_level": "low", + "npm_config_prefer_offline": "", + "NODE": "/usr/local/bin/node", + "XDG_MENU_PREFIX": "gnome-", + "S_COLORS": "auto", + "GNOME_TERMINAL_SCREEN": "/org/gnome/Terminal/screen/4f7fda0e_f171_47b3_a7fb_79646a276f78", + "XDG_RUNTIME_DIR": "/run/user/1000", + "npm_package_scripts_heroku_postbuild": "npm run build && npm run get-data && npm run get-narratives", + "npm_package_scripts_integration_test": "NODE_ENV=test ENV=dev jest ./test/integration/*.js --config puppeteer.config.js", + "npm_package_dependencies_dom_to_image": "^2.6.0", + "npm_package_dependencies_marked": "^0.7.0", + "npm_package_dependencies_react_redux": "^5.1.0", + "npm_package_devDependencies_eslint_plugin_jsx_a11y": "^5.1.1", + "npm_config_color": "true", + "npm_config_sign_git_commit": "", + "DISPLAY": ":0", + "npm_package_dependencies__hot_loader_react_dom": "^16.13.0", + "npm_package_devDependencies_eslint_config_airbnb": "^15.1.0", + "npm_package_devDependencies_eslint_config_defaults": "^7.0.1", + "npm_package_devDependencies_eslint_plugin_filenames": "^0.1.2", + "npm_config_fetch_retry_mintimeout": "10000", + "npm_config_maxsockets": "50", + "npm_config_offline": "", + "npm_config_sso_poll_frequency": "500", + "LANG": "en_US.UTF-8", + "XDG_CURRENT_DESKTOP": "ubuntu:GNOME", + "npm_package_dependencies_react_dom": "^16.8.6", + "npm_package_dependencies_redux": "^4.0.1", + "npm_package_dependencies_redux_devtools": "^3.5.0", + "npm_package_dependencies_run_sequence": "~0.3.6", + "npm_package_devDependencies_eslint": "^5.14.1", + "npm_config_umask": "0022", + "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:", + "TERM_PROGRAM": "vscode", + "XDG_SESSION_DESKTOP": "ubuntu", + "XMODIFIERS": "@im=ibus", + "GNOME_TERMINAL_SERVICE": ":1.147", + "XAUTHORITY": "/run/user/1000/gdm/Xauthority", + "npm_package_main": "index.js", + "npm_package_dependencies_create_react_class": "^15.6.0", + "npm_package_dependencies_webpack_hot_middleware": "^2.24.3", + "npm_package_gitHead": "074f13b971c22e99df2afb9051540fe92b81eb0e", + "npm_config_fund": "true", + "npm_config_fetch_retry_maxtimeout": "60000", + "npm_config_loglevel": "notice", + "npm_config_logs_max": "10", + "npm_config_message": "%s", + "npm_lifecycle_script": "node auspice.js develop --verbose", + "SSH_AUTH_SOCK": "/run/user/1000/keyring/ssh", + "CONDA_PYTHON_EXE": "/home/kevin/anaconda3/bin/python", + "npm_package_scripts_test": "jest test/*.js", + "npm_package_dependencies_chalk": "^2.4.1", + "npm_package_dependencies_webpack_chunk_hash": "^0.6.0", + "npm_config_ca": "", + "npm_config_cert": "", + "npm_config_global": "", + "npm_config_link": "", + "SHELL": "/bin/bash", + "npm_package_version": "2.16.0", + "npm_package_repository_url": "git+https://github.com/nextstrain/auspice.git", + "npm_package_scripts_get_narratives": "env bash ./scripts/get-narratives.sh", + "npm_package_scripts_smoke_test_ci": "start-server-and-test server http://localhost:4000 smoke-test", + "npm_package_dependencies_d3_array": "^1.2.0", + "npm_package_dependencies_d3_color": "^1.0.3", + "npm_package_dependencies_webpack_cli": "^3.1.2", + "npm_package_dependencies_webpack_bundle_analyzer": "^3.3.2", + "npm_package_devDependencies_jest_image_snapshot": "^3.0.1", + "npm_config_access": "", + "npm_config_also": "", + "npm_config_save": "true", + "npm_config_unicode": "true", + "npm_lifecycle_event": "dev", + "QT_ACCESSIBILITY": "1", + "GDMSESSION": "ubuntu", + "npm_package_scripts_build": "node auspice.js build --verbose", + "npm_config_argv": "{\"remain\":[],\"cooked\":[\"run\",\"dev\"],\"original\":[\"run\",\"dev\"]}", + "npm_config_before": "", + "npm_config_long": "", + "npm_config_production": "", + "npm_config_searchlimit": "20", + "npm_config_unsafe_perm": "true", + "npm_config_update_notifier": "true", + "LESSCLOSE": "/usr/bin/lesspipe %s %s", + "CONDA_DEFAULT_ENV": "base", + "npm_package_dependencies_compression_webpack_plugin": "^3.0.1", + "npm_package_dependencies_d3_timer": "^1.0.7", + "npm_package_dependencies_file_loader": "^1.1.11", + "npm_package_dependencies_lodash": "^4.17.15", + "npm_package_dependencies_typeface_lato": "^0.0.75", + "npm_config_auth_type": "legacy", + "npm_config_node_version": "12.16.2", + "npm_config_tag": "latest", + "npm_package_devDependencies_jest_puppeteer": "^4.4.0", + "npm_package_devDependencies_quoted_printable": "^1.0.1", + "npm_config_git_tag_version": "true", + "npm_config_commit_hooks": "true", + "npm_config_script_shell": "", + "npm_config_shrinkwrap": "true", + "TEXTDOMAINDIR": "/usr/share/locale/", + "GPG_AGENT_INFO": "/run/user/1000/gnupg/S.gpg-agent:0:1", + "npm_package_license": "AGPL-3.0-only", + "npm_package_scripts_gzip_and_upload": "env bash ./scripts/gzip-and-upload.sh", + "npm_package_dependencies__babel_plugin_proposal_class_properties": "^7.3.4", + "npm_package_dependencies_react_helmet": "^5.2.1", + "npm_package_devDependencies_eslint_plugin_react": "^7.2.1", + "npm_package_devDependencies_start_server_and_test": "^1.11.0", + "npm_config_fetch_retry_factor": "10", + "npm_config_save_exact": "", + "npm_config_strict_ssl": "true", + "XDG_VTNR": "2", + "QT_IM_MODULE": "ibus", + "npm_package_scripts_diff_lang": "./scripts/diff-lang.js", + "npm_package_dependencies__babel_plugin_syntax_dynamic_import": "^7.8.3", + "npm_package_dependencies_d3_brush": "^1.0.4", + "npm_package_dependencies_react_select": "^1.0.0-rc.5", + "npm_config_dev": "", + "npm_config_globalconfig": "/usr/local/etc/npmrc", + "npm_config_init_module": "/home/kevin/.npm-init.js", + "npm_config_parseable": "", + "PWD": "/home/kevin/repos/auspice", + "npm_package_scripts_create_data_dir": "env bash ./scripts/create-data-dir.sh", + "npm_package_dependencies_react_addons_css_transition_group": "^15.6.0", + "npm_config_globalignorefile": "/usr/local/etc/npmignore", + "npm_execpath": "/usr/local/lib/node_modules/npm/bin/npm-cli.js", + "CLUTTER_IM_MODULE": "xim", + "CONDA_EXE": "/home/kevin/anaconda3/bin/conda", + "XDG_DATA_DIRS": "/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop", + "XDG_CONFIG_DIRS": "/etc/xdg/xdg-ubuntu:/etc/xdg", + "npm_package_author_name": "James Hadfield, Trevor Bedford and Richard Neher", + "npm_package_engines_npm": "6.2.x", + "npm_package_dependencies_dompurify": "^2.0.7", + "npm_config_cache_lock_retries": "10", + "npm_config_searchstaleness": "900", + "npm_package_dependencies_mousetrap": "^1.6.2", + "npm_package_dependencies_prop_types": "^15.6.0", + "npm_package_dependencies_styled_components": "^4.0.3", + "npm_config_node_options": "", + "npm_config_save_prefix": "^", + "npm_config_scripts_prepend_node_path": "warn-only", + "CONDA_PREFIX": "/home/kevin/anaconda3", + "npm_package_devDependencies_babel_eslint": "^10.0.1", + "npm_config_group": "1000", + "npm_config_init_author_email": "", + "npm_config_searchexclude": "", + "VTE_VERSION": "5202", + "npm_package_dependencies_babel_loader": "^8.0.4", + "npm_package_dependencies_d3_transition": "^1.2.0", + "npm_package_dependencies_outer_product": "0.0.4", + "npm_config_git": "git", + "npm_config_optional": "true", + "npm_package_dependencies__babel_preset_env": "^7.9.6", + "npm_package_dependencies_awesomplete": "^1.1.2", + "npm_package_dependencies_d3_axis": "^1.0.6", + "npm_package_dependencies_react": "^16.8.6", + "npm_config_json": "", + "INIT_CWD": "/home/kevin/repos/auspice", + "BABEL_INCLUDE_TIMING_FUNCTIONS": "false", + "BABEL_ENV": "development", + "BABEL_EXTENSION_PATH": "undefined" + }, + "userLimits": { + "core_file_size_blocks": { + "soft": 0, + "hard": "unlimited" + }, + "data_seg_size_kbytes": { + "soft": "unlimited", + "hard": "unlimited" + }, + "file_size_blocks": { + "soft": "unlimited", + "hard": "unlimited" + }, + "max_locked_memory_bytes": { + "soft": 16777216, + "hard": 16777216 + }, + "max_memory_size_kbytes": { + "soft": "unlimited", + "hard": "unlimited" + }, + "open_files": { + "soft": 4096, + "hard": 4096 + }, + "stack_size_bytes": { + "soft": 8388608, + "hard": "unlimited" + }, + "cpu_time_seconds": { + "soft": "unlimited", + "hard": "unlimited" + }, + "max_user_processes": { + "soft": 30485, + "hard": 30485 + }, + "virtual_memory_kbytes": { + "soft": "unlimited", + "hard": "unlimited" + } + }, + "sharedObjects": [ + "linux-vdso.so.1", + "/lib/x86_64-linux-gnu/libdl.so.2", + "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", + "/lib/x86_64-linux-gnu/libm.so.6", + "/lib/x86_64-linux-gnu/libgcc_s.so.1", + "/lib/x86_64-linux-gnu/libpthread.so.0", + "/lib/x86_64-linux-gnu/libc.so.6", + "/lib64/ld-linux-x86-64.so.2", + "/lib/x86_64-linux-gnu/libnss_files.so.2" + ] +} \ No newline at end of file diff --git a/report.20200529.180046.16612.0.001.json b/report.20200529.180046.16612.0.001.json new file mode 100644 index 000000000..9880cf2ff --- /dev/null +++ b/report.20200529.180046.16612.0.001.json @@ -0,0 +1,739 @@ + +{ + "header": { + "reportVersion": 2, + "event": "Allocation failed - JavaScript heap out of memory", + "trigger": "FatalError", + "filename": "report.20200529.180046.16612.0.001.json", + "dumpEventTime": "2020-05-29T18:00:46Z", + "dumpEventTimeStamp": "1590793246911", + "processId": 16612, + "threadId": null, + "cwd": "/home/kevin/repos/auspice", + "commandLine": [ + "node", + "auspice.js", + "develop", + "--verbose" + ], + "nodejsVersion": "v12.16.2", + "glibcVersionRuntime": "2.27", + "glibcVersionCompiler": "2.17", + "wordSize": 64, + "arch": "x64", + "platform": "linux", + "componentVersions": { + "node": "12.16.2", + "v8": "7.8.279.23-node.34", + "uv": "1.34.2", + "zlib": "1.2.11", + "brotli": "1.0.7", + "ares": "1.15.0", + "modules": "72", + "nghttp2": "1.40.0", + "napi": "5", + "llhttp": "2.0.4", + "http_parser": "2.9.3", + "openssl": "1.1.1e", + "cldr": "36.0", + "icu": "65.1", + "tz": "2019c", + "unicode": "12.1" + }, + "release": { + "name": "node", + "lts": "Erbium", + "headersUrl": "https://nodejs.org/download/release/v12.16.2/node-v12.16.2-headers.tar.gz", + "sourceUrl": "https://nodejs.org/download/release/v12.16.2/node-v12.16.2.tar.gz" + }, + "osName": "Linux", + "osRelease": "4.15.0-101-generic", + "osVersion": "#102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020", + "osMachine": "x86_64", + "cpus": [ + { + "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", + "speed": 2143, + "user": 9446000, + "nice": 28600, + "sys": 1971500, + "idle": 120840700, + "irq": 0 + }, + { + "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", + "speed": 2125, + "user": 9702000, + "nice": 29400, + "sys": 1938100, + "idle": 120690100, + "irq": 0 + }, + { + "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", + "speed": 2143, + "user": 10129200, + "nice": 48700, + "sys": 2148400, + "idle": 120084500, + "irq": 0 + }, + { + "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", + "speed": 2143, + "user": 9584600, + "nice": 30400, + "sys": 1957200, + "idle": 120040000, + "irq": 0 + }, + { + "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", + "speed": 2141, + "user": 9281900, + "nice": 31700, + "sys": 1877400, + "idle": 121170000, + "irq": 0 + }, + { + "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", + "speed": 2125, + "user": 8974500, + "nice": 27200, + "sys": 2066300, + "idle": 120540000, + "irq": 0 + }, + { + "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", + "speed": 2116, + "user": 9493000, + "nice": 32800, + "sys": 2253100, + "idle": 120653200, + "irq": 0 + }, + { + "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", + "speed": 2064, + "user": 9164900, + "nice": 29300, + "sys": 2093000, + "idle": 120890900, + "irq": 0 + } + ], + "networkInterfaces": [ + { + "name": "lo", + "internal": true, + "mac": "00:00:00:00:00:00", + "address": "127.0.0.1", + "netmask": "255.0.0.0", + "family": "IPv4" + }, + { + "name": "wlp2s0", + "internal": false, + "mac": "c0:b6:f9:8a:e6:3e", + "address": "10.0.0.73", + "netmask": "255.255.255.0", + "family": "IPv4" + }, + { + "name": "lo", + "internal": true, + "mac": "00:00:00:00:00:00", + "address": "::1", + "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", + "family": "IPv6", + "scopeid": 0 + }, + { + "name": "wlp2s0", + "internal": false, + "mac": "c0:b6:f9:8a:e6:3e", + "address": "2601:249:8b80:76d0::39ab", + "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", + "family": "IPv6", + "scopeid": 0 + }, + { + "name": "wlp2s0", + "internal": false, + "mac": "c0:b6:f9:8a:e6:3e", + "address": "2601:249:8b80:76d0:8977:e406:b38a:286", + "netmask": "ffff:ffff:ffff:ffff::", + "family": "IPv6", + "scopeid": 0 + }, + { + "name": "wlp2s0", + "internal": false, + "mac": "c0:b6:f9:8a:e6:3e", + "address": "2601:249:8b80:76d0:55b6:5467:cb8e:e6c", + "netmask": "ffff:ffff:ffff:ffff::", + "family": "IPv6", + "scopeid": 0 + }, + { + "name": "wlp2s0", + "internal": false, + "mac": "c0:b6:f9:8a:e6:3e", + "address": "fe80::4545:26d8:96c5:6d00", + "netmask": "ffff:ffff:ffff:ffff::", + "family": "IPv6", + "scopeid": 2 + } + ], + "host": "kevin-spectre" + }, + "javascriptStack": { + "message": "No stack.", + "stack": [ + "Unavailable." + ] + }, + "nativeStack": [ + { + "pc": "0x0000000000b40285", + "symbol": "report::TriggerNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, std::string const&, v8::Local) [node]" + }, + { + "pc": "0x0000000000a033ef", + "symbol": "node::OnFatalError(char const*, char const*) [node]" + }, + { + "pc": "0x0000000000b76ffe", + "symbol": "v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]" + }, + { + "pc": "0x0000000000b77379", + "symbol": "v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]" + }, + { + "pc": "0x0000000000d23ad5", + "symbol": " [node]" + }, + { + "pc": "0x0000000000d24166", + "symbol": "v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]" + }, + { + "pc": "0x0000000000d309e5", + "symbol": "v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]" + }, + { + "pc": "0x0000000000d31895", + "symbol": "v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]" + }, + { + "pc": "0x0000000000d3434c", + "symbol": "v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]" + }, + { + "pc": "0x0000000000cfaf1b", + "symbol": "v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]" + }, + { + "pc": "0x000000000103d85e", + "symbol": "v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]" + }, + { + "pc": "0x00000000013c03d9", + "symbol": " [node]" + } + ], + "javascriptHeap": { + "totalMemory": 2151567360, + "totalCommittedMemory": 2149917304, + "usedMemory": 2139710544, + "availableMemory": 48176232, + "memoryLimit": 2197815296, + "heapSpaces": { + "read_only_space": { + "memorySize": 262144, + "committedMemory": 33088, + "capacity": 32808, + "used": 32808, + "available": 0 + }, + "new_space": { + "memorySize": 2097152, + "committedMemory": 1181712, + "capacity": 1047456, + "used": 166616, + "available": 880840 + }, + "old_space": { + "memorySize": 2102009856, + "committedMemory": 2101620096, + "capacity": 2093174696, + "used": 2093174696, + "available": 0 + }, + "code_space": { + "memorySize": 2789376, + "committedMemory": 2673920, + "capacity": 2575296, + "used": 2575296, + "available": 0 + }, + "map_space": { + "memorySize": 3149824, + "committedMemory": 3149480, + "capacity": 2791440, + "used": 2791440, + "available": 0 + }, + "large_object_space": { + "memorySize": 40636416, + "committedMemory": 40636416, + "capacity": 40425144, + "used": 40425144, + "available": 0 + }, + "code_large_object_space": { + "memorySize": 622592, + "committedMemory": 622592, + "capacity": 544544, + "used": 544544, + "available": 0 + }, + "new_large_object_space": { + "memorySize": 0, + "committedMemory": 0, + "capacity": 1047456, + "used": 0, + "available": 1047456 + } + } + }, + "resourceUsage": { + "userCpuSeconds": 226.935, + "kernelCpuSeconds": 5.14958, + "cpuConsumptionPercent": 201.813, + "maxRss": 2241789952, + "pageFaults": { + "IORequired": 72, + "IONotRequired": 1009321 + }, + "fsActivity": { + "reads": 42072, + "writes": 24 + } + }, + "uvthreadResourceUsage": { + "userCpuSeconds": 100.154, + "kernelCpuSeconds": 2.27086, + "cpuConsumptionPercent": 89.0647, + "fsActivity": { + "reads": 21608, + "writes": 24 + } + }, + "libuv": [ + ], + "workers": [ + ], + "environmentVariables": { + "LESSOPEN": "| /usr/bin/lesspipe %s", + "npm_package_dependencies__babel_plugin_transform_runtime": "^7.8.3", + "npm_package_dependencies_papaparse": "^4.3.5", + "npm_package_dependencies_regenerator_runtime": "^0.13.5", + "npm_config_cache_lock_stale": "60000", + "npm_config_ham_it_up": "", + "CONDA_PROMPT_MODIFIER": "(base) ", + "npm_package_scripts_smoke_test": "NODE_ENV=test ENV=dev jest ./test/smoke-test/urls.test.js --config puppeteer.config.js", + "npm_config_legacy_bundling": "", + "npm_config_sign_git_tag": "", + "USER": "kevin", + "npm_package_scripts_build_docs": "echo 'see ./docs-src/README.md'", + "npm_package_dependencies__babel_preset_react": "^7.0.0", + "npm_package_devDependencies_jest": "^25.1.0", + "npm_config_user_agent": "npm/6.14.4 node/v12.16.2 linux x64", + "npm_config_always_auth": "", + "TEXTDOMAIN": "im-config", + "XDG_SEAT": "seat0", + "npm_package_dependencies__babel_plugin_proposal_decorators": "^7.3.0", + "npm_package_dependencies_binomial": "^0.2.0", + "npm_package_dependencies_react_tweet_embed": "^1.1.0", + "npm_package_bugs_url": "https://github.com/nextstrain/auspice/issues", + "npm_config_bin_links": "true", + "npm_config_key": "", + "SSH_AGENT_PID": "1595", + "XDG_SESSION_TYPE": "x11", + "npm_package_dependencies__babel_core": "^7.3.4", + "npm_package_dependencies_d3_scale": "^1.0.5", + "npm_package_dependencies_node_fetch": "^2.1.2", + "npm_package_devDependencies_puppeteer": "^2.1.1", + "npm_config_allow_same_version": "", + "npm_config_description": "true", + "npm_config_fetch_retries": "2", + "npm_config_heading": "npm", + "npm_config_if_present": "", + "npm_config_init_version": "1.0.0", + "npm_config_user": "", + "npm_node_execpath": "/usr/local/bin/node", + "SHLVL": "3", + "npm_package_dependencies_clean_webpack_plugin": "^3.0.0", + "npm_package_dependencies_html_webpack_plugin": "^4.3.0", + "npm_package_devDependencies_chai_http": "^4.0.0", + "npm_package_devDependencies_jest_circus": "^25.3.0", + "npm_config_prefer_online": "", + "npm_config_noproxy": "", + "CONDA_SHLVL": "1", + "OLDPWD": "/home/kevin/repos/auspice/data", + "QT4_IM_MODULE": "xim", + "HOME": "/home/kevin", + "npm_package_dependencies_babel_plugin_strip_function_call": "^1.0.2", + "npm_package_dependencies_d3_collection": "^1.0.4", + "npm_package_dependencies_whatwg_fetch": "^0.10.1", + "npm_config_force": "", + "DESKTOP_SESSION": "ubuntu", + "TERM_PROGRAM_VERSION": "1.36.0", + "npm_package_scripts_server": "npm run view", + "npm_package_dependencies_linspace": "^1.0.0", + "npm_config_only": "", + "npm_config_read_only": "", + "npm_package_engines_node": "10.8.x", + "npm_package_dependencies_lodash_webpack_plugin": "^0.11.5", + "npm_package_devDependencies_chai": "^4.1.2", + "npm_config_cache_min": "10", + "npm_config_init_license": "ISC", + "GNOME_SHELL_SESSION_MODE": "ubuntu", + "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true", + "GTK_MODULES": "gail:atk-bridge", + "npm_package_scripts_integration_test_ci": "start-server-and-test server http://localhost:4000 integration-test", + "npm_package_dependencies_express_static_gzip": "^0.2.2", + "npm_package_dependencies_prettyjson": "^1.2.1", + "npm_config_editor": "vi", + "npm_config_rollback": "true", + "npm_config_tag_version_prefix": "v", + "npm_package_scripts_lint_fix": "eslint --fix src", + "npm_package_dependencies_leaflet": "^1.6.0", + "npm_package_dependencies_leaflet_gesture_handling": "^1.1.8", + "npm_package_dependencies_react_i18next": "^11.3.3", + "npm_package_dependencies_react_icons": "^3.9.0", + "npm_package_dependencies_redux_thunk": "^2.3.0", + "npm_package_dependencies_webpack": "^4.30.0", + "npm_config_cache_max": "Infinity", + "npm_config_timing": "", + "npm_config_userconfig": "/home/kevin/.npmrc", + "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus", + "npm_package_scripts_postinstall": "npm run create-data-dir", + "npm_package_dependencies_babel_plugin_lodash": "^3.3.4", + "npm_package_dependencies_compression": "^1.7.3", + "npm_package_dependencies_express_naked_redirect": "^0.1.2", + "npm_package_devDependencies_eslint_plugin_react_hooks": "^1.6.0", + "npm_config_engine_strict": "", + "npm_config_init_author_name": "", + "npm_config_init_author_url": "", + "npm_config_preid": "", + "npm_config_tmp": "/tmp", + "COLORTERM": "truecolor", + "_CE_M": "", + "npm_package_description": "Web app for visualizing pathogen evolution", + "npm_package_dependencies_d3_interpolate": "^1.1.5", + "npm_package_dependencies_i18next": "^19.3.2", + "npm_config_depth": "Infinity", + "npm_config_package_lock_only": "", + "npm_config_save_dev": "", + "npm_config_usage": "", + "npm_package_homepage": "https://www.npmjs.com/package/auspice", + "npm_package_scripts_get_data": "env bash ./scripts/get-data.sh", + "npm_package_dependencies_argparse": "^1.0.10", + "npm_package_dependencies_d3_shape": "^1.2.0", + "npm_package_dependencies_webpack_dev_middleware": "^3.1.3", + "npm_package_readmeFilename": "README.md", + "npm_config_metrics_registry": "https://registry.npmjs.org/", + "npm_config_cafile": "", + "npm_config_otp": "", + "npm_config_package_lock": "true", + "npm_config_progress": "true", + "npm_config_https_proxy": "", + "npm_config_save_prod": "", + "MANDATORY_PATH": "/usr/share/gconf/ubuntu.mandatory.path", + "IM_CONFIG_PHASE": "2", + "npm_package_scripts_dev": "node auspice.js develop --verbose", + "npm_config_audit": "true", + "npm_config_cidr": "", + "npm_config_onload_script": "", + "npm_config_sso_type": "oauth", + "LOGNAME": "kevin", + "GTK_IM_MODULE": "ibus", + "npm_package_dependencies_d3_ease": "^1.0.3", + "npm_package_dependencies_d3_zoom": "^1.1.3", + "npm_package_dependencies_request": "^2.87.0", + "npm_package_devDependencies_eslint_plugin_import": "^2.13.0", + "npm_config_rebuild_bundle": "true", + "npm_config_save_bundle": "", + "npm_config_shell": "/bin/bash", + "DESKTOP_AUTOSTART_ID": "10a209672190de9c8159077991272654400000014990007", + "_": "/usr/local/bin/npm", + "npm_package_dependencies_d3_format": "^1.3.0", + "npm_package_dependencies_express": "^4.16.3", + "npm_package_dependencies_json_loader": "^0.5.1", + "npm_package_dependencies_query_string": "^4.2.3", + "npm_package_dependencies_yaml_front_matter": "^4.0.0", + "npm_config_dry_run": "", + "npm_config_format_package_lock": "true", + "npm_config_prefix": "/usr/local", + "DEFAULTS_PATH": "/usr/share/gconf/ubuntu.default.path", + "npm_package_bin_auspice": "auspice.js", + "npm_package_scripts_prepare": "npm run build", + "npm_package_scripts_lint": "eslint src", + "npm_package_dependencies_babel_plugin_styled_components": "^1.10.0", + "npm_package_dependencies_i18next_resource_store_loader": "^0.1.2", + "npm_package_devDependencies_bundlesize": "^0.18.0", + "npm_config_scope": "", + "npm_config_browser": "", + "npm_config_cache_lock_wait": "10000", + "npm_config_ignore_prepublish": "", + "npm_config_registry": "https://registry.npmjs.org/", + "npm_config_save_optional": "", + "npm_config_searchopts": "", + "npm_config_versions": "", + "USERNAME": "kevin", + "XDG_SESSION_ID": "2", + "TERM": "xterm-256color", + "npm_package_dependencies_core_js": "^3.6.5", + "npm_package_dependencies_style_loader": "^0.13.2", + "npm_config_cache": "/home/kevin/.npm", + "npm_config_proxy": "", + "npm_config_send_metrics": "", + "_CE_CONDA": "", + "GNOME_DESKTOP_SESSION_ID": "this-is-deprecated", + "npm_package_scripts_start": "npm run view", + "npm_config_global_style": "", + "npm_config_ignore_scripts": "", + "npm_config_version": "", + "WINDOWPATH": "2", + "npm_package_scripts_rebuild_docker_image": "env bash ./scripts/rebuild-docker-image.sh", + "npm_package_dependencies_css_loader": "^2.1.1", + "npm_package_dependencies_react_hot_loader": "^4.8.4", + "npm_config_local_address": "", + "npm_config_viewer": "man", + "npm_config_node_gyp": "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", + "PATH": "/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/kevin/repos/auspice/node_modules/.bin:/home/kevin/anaconda3/bin:/home/kevin/anaconda3/condabin:/home/kevin/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", + "SESSION_MANAGER": "local/kevin-spectre:@/tmp/.ICE-unix/1499,unix/kevin-spectre:/tmp/.ICE-unix/1499", + "npm_package_name": "auspice", + "npm_package_repository_type": "git", + "npm_package_scripts_view": "node auspice.js view --verbose", + "npm_package_dependencies_d3_selection": "^1.1.0", + "npm_package_dependencies_react_ga": "^2.2.0", + "npm_config_audit_level": "low", + "npm_config_prefer_offline": "", + "NODE": "/usr/local/bin/node", + "XDG_MENU_PREFIX": "gnome-", + "S_COLORS": "auto", + "GNOME_TERMINAL_SCREEN": "/org/gnome/Terminal/screen/4f7fda0e_f171_47b3_a7fb_79646a276f78", + "XDG_RUNTIME_DIR": "/run/user/1000", + "npm_package_scripts_heroku_postbuild": "npm run build && npm run get-data && npm run get-narratives", + "npm_package_scripts_integration_test": "NODE_ENV=test ENV=dev jest ./test/integration/*.js --config puppeteer.config.js", + "npm_package_dependencies_dom_to_image": "^2.6.0", + "npm_package_dependencies_marked": "^0.7.0", + "npm_package_dependencies_react_redux": "^5.1.0", + "npm_package_devDependencies_eslint_plugin_jsx_a11y": "^5.1.1", + "npm_config_color": "true", + "npm_config_sign_git_commit": "", + "DISPLAY": ":0", + "npm_package_dependencies__hot_loader_react_dom": "^16.13.0", + "npm_package_devDependencies_eslint_config_airbnb": "^15.1.0", + "npm_package_devDependencies_eslint_config_defaults": "^7.0.1", + "npm_package_devDependencies_eslint_plugin_filenames": "^0.1.2", + "npm_config_fetch_retry_mintimeout": "10000", + "npm_config_maxsockets": "50", + "npm_config_offline": "", + "npm_config_sso_poll_frequency": "500", + "LANG": "en_US.UTF-8", + "XDG_CURRENT_DESKTOP": "ubuntu:GNOME", + "npm_package_dependencies_react_dom": "^16.8.6", + "npm_package_dependencies_redux": "^4.0.1", + "npm_package_dependencies_redux_devtools": "^3.5.0", + "npm_package_dependencies_run_sequence": "~0.3.6", + "npm_package_devDependencies_eslint": "^5.14.1", + "npm_config_umask": "0022", + "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:", + "TERM_PROGRAM": "vscode", + "XDG_SESSION_DESKTOP": "ubuntu", + "XMODIFIERS": "@im=ibus", + "GNOME_TERMINAL_SERVICE": ":1.147", + "XAUTHORITY": "/run/user/1000/gdm/Xauthority", + "npm_package_main": "index.js", + "npm_package_dependencies_create_react_class": "^15.6.0", + "npm_package_dependencies_webpack_hot_middleware": "^2.24.3", + "npm_package_gitHead": "074f13b971c22e99df2afb9051540fe92b81eb0e", + "npm_config_fund": "true", + "npm_config_fetch_retry_maxtimeout": "60000", + "npm_config_loglevel": "notice", + "npm_config_logs_max": "10", + "npm_config_message": "%s", + "npm_lifecycle_script": "node auspice.js develop --verbose", + "SSH_AUTH_SOCK": "/run/user/1000/keyring/ssh", + "CONDA_PYTHON_EXE": "/home/kevin/anaconda3/bin/python", + "npm_package_scripts_test": "jest test/*.js", + "npm_package_dependencies_chalk": "^2.4.1", + "npm_package_dependencies_webpack_chunk_hash": "^0.6.0", + "npm_config_ca": "", + "npm_config_cert": "", + "npm_config_global": "", + "npm_config_link": "", + "SHELL": "/bin/bash", + "npm_package_version": "2.16.0", + "npm_package_repository_url": "git+https://github.com/nextstrain/auspice.git", + "npm_package_scripts_get_narratives": "env bash ./scripts/get-narratives.sh", + "npm_package_scripts_smoke_test_ci": "start-server-and-test server http://localhost:4000 smoke-test", + "npm_package_dependencies_d3_array": "^1.2.0", + "npm_package_dependencies_d3_color": "^1.0.3", + "npm_package_dependencies_webpack_cli": "^3.1.2", + "npm_package_dependencies_webpack_bundle_analyzer": "^3.3.2", + "npm_package_devDependencies_jest_image_snapshot": "^3.0.1", + "npm_config_access": "", + "npm_config_also": "", + "npm_config_save": "true", + "npm_config_unicode": "true", + "npm_lifecycle_event": "dev", + "QT_ACCESSIBILITY": "1", + "GDMSESSION": "ubuntu", + "npm_package_scripts_build": "node auspice.js build --verbose", + "npm_config_argv": "{\"remain\":[],\"cooked\":[\"run\",\"dev\"],\"original\":[\"run\",\"dev\"]}", + "npm_config_before": "", + "npm_config_long": "", + "npm_config_production": "", + "npm_config_searchlimit": "20", + "npm_config_unsafe_perm": "true", + "npm_config_update_notifier": "true", + "LESSCLOSE": "/usr/bin/lesspipe %s %s", + "CONDA_DEFAULT_ENV": "base", + "npm_package_dependencies_compression_webpack_plugin": "^3.0.1", + "npm_package_dependencies_d3_timer": "^1.0.7", + "npm_package_dependencies_file_loader": "^1.1.11", + "npm_package_dependencies_lodash": "^4.17.15", + "npm_package_dependencies_typeface_lato": "^0.0.75", + "npm_config_auth_type": "legacy", + "npm_config_node_version": "12.16.2", + "npm_config_tag": "latest", + "npm_package_devDependencies_jest_puppeteer": "^4.4.0", + "npm_package_devDependencies_quoted_printable": "^1.0.1", + "npm_config_git_tag_version": "true", + "npm_config_commit_hooks": "true", + "npm_config_script_shell": "", + "npm_config_shrinkwrap": "true", + "TEXTDOMAINDIR": "/usr/share/locale/", + "GPG_AGENT_INFO": "/run/user/1000/gnupg/S.gpg-agent:0:1", + "npm_package_license": "AGPL-3.0-only", + "npm_package_scripts_gzip_and_upload": "env bash ./scripts/gzip-and-upload.sh", + "npm_package_dependencies__babel_plugin_proposal_class_properties": "^7.3.4", + "npm_package_dependencies_react_helmet": "^5.2.1", + "npm_package_devDependencies_eslint_plugin_react": "^7.2.1", + "npm_package_devDependencies_start_server_and_test": "^1.11.0", + "npm_config_fetch_retry_factor": "10", + "npm_config_save_exact": "", + "npm_config_strict_ssl": "true", + "XDG_VTNR": "2", + "QT_IM_MODULE": "ibus", + "npm_package_scripts_diff_lang": "./scripts/diff-lang.js", + "npm_package_dependencies__babel_plugin_syntax_dynamic_import": "^7.8.3", + "npm_package_dependencies_d3_brush": "^1.0.4", + "npm_package_dependencies_react_select": "^1.0.0-rc.5", + "npm_config_dev": "", + "npm_config_globalconfig": "/usr/local/etc/npmrc", + "npm_config_init_module": "/home/kevin/.npm-init.js", + "npm_config_parseable": "", + "PWD": "/home/kevin/repos/auspice", + "npm_package_scripts_create_data_dir": "env bash ./scripts/create-data-dir.sh", + "npm_package_dependencies_react_addons_css_transition_group": "^15.6.0", + "npm_config_globalignorefile": "/usr/local/etc/npmignore", + "npm_execpath": "/usr/local/lib/node_modules/npm/bin/npm-cli.js", + "CLUTTER_IM_MODULE": "xim", + "CONDA_EXE": "/home/kevin/anaconda3/bin/conda", + "XDG_DATA_DIRS": "/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop", + "XDG_CONFIG_DIRS": "/etc/xdg/xdg-ubuntu:/etc/xdg", + "npm_package_author_name": "James Hadfield, Trevor Bedford and Richard Neher", + "npm_package_engines_npm": "6.2.x", + "npm_package_dependencies_dompurify": "^2.0.7", + "npm_config_cache_lock_retries": "10", + "npm_config_searchstaleness": "900", + "npm_package_dependencies_mousetrap": "^1.6.2", + "npm_package_dependencies_prop_types": "^15.6.0", + "npm_package_dependencies_styled_components": "^4.0.3", + "npm_config_node_options": "", + "npm_config_save_prefix": "^", + "npm_config_scripts_prepend_node_path": "warn-only", + "CONDA_PREFIX": "/home/kevin/anaconda3", + "npm_package_devDependencies_babel_eslint": "^10.0.1", + "npm_config_group": "1000", + "npm_config_init_author_email": "", + "npm_config_searchexclude": "", + "VTE_VERSION": "5202", + "npm_package_dependencies_babel_loader": "^8.0.4", + "npm_package_dependencies_d3_transition": "^1.2.0", + "npm_package_dependencies_outer_product": "0.0.4", + "npm_config_git": "git", + "npm_config_optional": "true", + "npm_package_dependencies__babel_preset_env": "^7.9.6", + "npm_package_dependencies_awesomplete": "^1.1.2", + "npm_package_dependencies_d3_axis": "^1.0.6", + "npm_package_dependencies_react": "^16.8.6", + "npm_config_json": "", + "INIT_CWD": "/home/kevin/repos/auspice", + "BABEL_INCLUDE_TIMING_FUNCTIONS": "false", + "BABEL_ENV": "development", + "BABEL_EXTENSION_PATH": "undefined" + }, + "userLimits": { + "core_file_size_blocks": { + "soft": 0, + "hard": "unlimited" + }, + "data_seg_size_kbytes": { + "soft": "unlimited", + "hard": "unlimited" + }, + "file_size_blocks": { + "soft": "unlimited", + "hard": "unlimited" + }, + "max_locked_memory_bytes": { + "soft": 16777216, + "hard": 16777216 + }, + "max_memory_size_kbytes": { + "soft": "unlimited", + "hard": "unlimited" + }, + "open_files": { + "soft": 4096, + "hard": 4096 + }, + "stack_size_bytes": { + "soft": 8388608, + "hard": "unlimited" + }, + "cpu_time_seconds": { + "soft": "unlimited", + "hard": "unlimited" + }, + "max_user_processes": { + "soft": 30485, + "hard": 30485 + }, + "virtual_memory_kbytes": { + "soft": "unlimited", + "hard": "unlimited" + } + }, + "sharedObjects": [ + "linux-vdso.so.1", + "/lib/x86_64-linux-gnu/libdl.so.2", + "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", + "/lib/x86_64-linux-gnu/libm.so.6", + "/lib/x86_64-linux-gnu/libgcc_s.so.1", + "/lib/x86_64-linux-gnu/libpthread.so.0", + "/lib/x86_64-linux-gnu/libc.so.6", + "/lib64/ld-linux-x86-64.so.2", + "/lib/x86_64-linux-gnu/libnss_files.so.2" + ] +} \ No newline at end of file diff --git a/src/components/tree/reactD3Interface/callbacks.js b/src/components/tree/reactD3Interface/callbacks.js index c4bf7eb28..a08eecd71 100644 --- a/src/components/tree/reactD3Interface/callbacks.js +++ b/src/components/tree/reactD3Interface/callbacks.js @@ -66,6 +66,9 @@ export const onBranchClick = function onBranchClick(d) { // (The order of the drop-down on the menu) // Can't use AA mut lists as zoom labels currently - URL is bad, but also, means every node has a label, and many conflict... let legalBranchLabels; + // Check if the clicked branch is currently in view + // Determines whether to zoom into the clade or zoom out of it and whether to append or remove a clades label from the URL query + const isTargetBranchInView = (getIdxOfInViewRootNode(d.n) === d.n.arrayIdx); // Check has some branch labels, and remove 'aa' ones. if (d.n.branch_attrs && d.n.branch_attrs.labels !== undefined) { @@ -80,11 +83,11 @@ export const onBranchClick = function onBranchClick(d) { ); // then use the first! const key = legalBranchLabels[0]; - cladeSelected = `${key}:${d.n.branch_attrs.labels[key]}`; + cladeSelected = isTargetBranchInView ? "" : `${key}:${d.n.branch_attrs.labels[key]}`; } /* Clicking on a branch means we want to zoom into the clade defined by that branch _except_ when it's the "in-view" root branch, in which case we want to zoom out */ - const arrayIdxToZoomTo = (getIdxOfInViewRootNode(d.n) === d.n.arrayIdx) ? + const arrayIdxToZoomTo = (isTargetBranchInView) ? getParentBeyondPolytomy(d.n, this.props.distanceMeasure).arrayIdx : d.n.arrayIdx; if (d.that.params.orientation[0] === 1) root[0] = arrayIdxToZoomTo; From c4899726ce75dafe8e721b7c3fb4b0428be6e5a4 Mon Sep 17 00:00:00 2001 From: Kevin Tun Date: Tue, 2 Jun 2020 15:52:07 -0500 Subject: [PATCH 2/3] Revert "fixed URL query update when zooming out of labelled subtree" This reverts commit 846542f08679ff355ca9f379a883a47d8f5b6faf. Accidentally included error reports --- report.20200529.174745.11449.0.001.json | 739 ------------------ report.20200529.180046.16612.0.001.json | 739 ------------------ .../tree/reactD3Interface/callbacks.js | 7 +- 3 files changed, 2 insertions(+), 1483 deletions(-) delete mode 100644 report.20200529.174745.11449.0.001.json delete mode 100644 report.20200529.180046.16612.0.001.json diff --git a/report.20200529.174745.11449.0.001.json b/report.20200529.174745.11449.0.001.json deleted file mode 100644 index 9c48ef23e..000000000 --- a/report.20200529.174745.11449.0.001.json +++ /dev/null @@ -1,739 +0,0 @@ - -{ - "header": { - "reportVersion": 2, - "event": "Allocation failed - JavaScript heap out of memory", - "trigger": "FatalError", - "filename": "report.20200529.174745.11449.0.001.json", - "dumpEventTime": "2020-05-29T17:47:45Z", - "dumpEventTimeStamp": "1590792465773", - "processId": 11449, - "threadId": null, - "cwd": "/home/kevin/repos/auspice", - "commandLine": [ - "node", - "auspice.js", - "develop", - "--verbose" - ], - "nodejsVersion": "v12.16.2", - "glibcVersionRuntime": "2.27", - "glibcVersionCompiler": "2.17", - "wordSize": 64, - "arch": "x64", - "platform": "linux", - "componentVersions": { - "node": "12.16.2", - "v8": "7.8.279.23-node.34", - "uv": "1.34.2", - "zlib": "1.2.11", - "brotli": "1.0.7", - "ares": "1.15.0", - "modules": "72", - "nghttp2": "1.40.0", - "napi": "5", - "llhttp": "2.0.4", - "http_parser": "2.9.3", - "openssl": "1.1.1e", - "cldr": "36.0", - "icu": "65.1", - "tz": "2019c", - "unicode": "12.1" - }, - "release": { - "name": "node", - "lts": "Erbium", - "headersUrl": "https://nodejs.org/download/release/v12.16.2/node-v12.16.2-headers.tar.gz", - "sourceUrl": "https://nodejs.org/download/release/v12.16.2/node-v12.16.2.tar.gz" - }, - "osName": "Linux", - "osRelease": "4.15.0-101-generic", - "osVersion": "#102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020", - "osMachine": "x86_64", - "cpus": [ - { - "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", - "speed": 2400, - "user": 8697000, - "nice": 28300, - "sys": 1838800, - "idle": 113970000, - "irq": 0 - }, - { - "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", - "speed": 2400, - "user": 8909400, - "nice": 29000, - "sys": 1796600, - "idle": 113863900, - "irq": 0 - }, - { - "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", - "speed": 2400, - "user": 9322700, - "nice": 48000, - "sys": 1990800, - "idle": 113304100, - "irq": 0 - }, - { - "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", - "speed": 2400, - "user": 8879700, - "nice": 29900, - "sys": 1822000, - "idle": 113146500, - "irq": 0 - }, - { - "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", - "speed": 2400, - "user": 8541400, - "nice": 31000, - "sys": 1751800, - "idle": 114276400, - "irq": 0 - }, - { - "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", - "speed": 2400, - "user": 8261600, - "nice": 27100, - "sys": 1927000, - "idle": 113667700, - "irq": 0 - }, - { - "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", - "speed": 2400, - "user": 8814100, - "nice": 32000, - "sys": 2103800, - "idle": 113716500, - "irq": 0 - }, - { - "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", - "speed": 2400, - "user": 8360200, - "nice": 28700, - "sys": 1943100, - "idle": 114096000, - "irq": 0 - } - ], - "networkInterfaces": [ - { - "name": "lo", - "internal": true, - "mac": "00:00:00:00:00:00", - "address": "127.0.0.1", - "netmask": "255.0.0.0", - "family": "IPv4" - }, - { - "name": "wlp2s0", - "internal": false, - "mac": "c0:b6:f9:8a:e6:3e", - "address": "10.0.0.73", - "netmask": "255.255.255.0", - "family": "IPv4" - }, - { - "name": "lo", - "internal": true, - "mac": "00:00:00:00:00:00", - "address": "::1", - "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", - "family": "IPv6", - "scopeid": 0 - }, - { - "name": "wlp2s0", - "internal": false, - "mac": "c0:b6:f9:8a:e6:3e", - "address": "2601:249:8b80:76d0::39ab", - "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", - "family": "IPv6", - "scopeid": 0 - }, - { - "name": "wlp2s0", - "internal": false, - "mac": "c0:b6:f9:8a:e6:3e", - "address": "2601:249:8b80:76d0:8977:e406:b38a:286", - "netmask": "ffff:ffff:ffff:ffff::", - "family": "IPv6", - "scopeid": 0 - }, - { - "name": "wlp2s0", - "internal": false, - "mac": "c0:b6:f9:8a:e6:3e", - "address": "2601:249:8b80:76d0:55b6:5467:cb8e:e6c", - "netmask": "ffff:ffff:ffff:ffff::", - "family": "IPv6", - "scopeid": 0 - }, - { - "name": "wlp2s0", - "internal": false, - "mac": "c0:b6:f9:8a:e6:3e", - "address": "fe80::4545:26d8:96c5:6d00", - "netmask": "ffff:ffff:ffff:ffff::", - "family": "IPv6", - "scopeid": 2 - } - ], - "host": "kevin-spectre" - }, - "javascriptStack": { - "message": "No stack.", - "stack": [ - "Unavailable." - ] - }, - "nativeStack": [ - { - "pc": "0x0000000000b40285", - "symbol": "report::TriggerNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, std::string const&, v8::Local) [node]" - }, - { - "pc": "0x0000000000a033ef", - "symbol": "node::OnFatalError(char const*, char const*) [node]" - }, - { - "pc": "0x0000000000b76ffe", - "symbol": "v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]" - }, - { - "pc": "0x0000000000b77379", - "symbol": "v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]" - }, - { - "pc": "0x0000000000d23ad5", - "symbol": " [node]" - }, - { - "pc": "0x0000000000d24166", - "symbol": "v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]" - }, - { - "pc": "0x0000000000d309e5", - "symbol": "v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]" - }, - { - "pc": "0x0000000000d31895", - "symbol": "v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]" - }, - { - "pc": "0x0000000000d3434c", - "symbol": "v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]" - }, - { - "pc": "0x0000000000cfaf1b", - "symbol": "v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]" - }, - { - "pc": "0x000000000103d85e", - "symbol": "v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]" - }, - { - "pc": "0x00000000013c03d9", - "symbol": " [node]" - } - ], - "javascriptHeap": { - "totalMemory": 2148728832, - "totalCommittedMemory": 2147385624, - "usedMemory": 2137950464, - "availableMemory": 54392424, - "memoryLimit": 2197815296, - "heapSpaces": { - "read_only_space": { - "memorySize": 262144, - "committedMemory": 33088, - "capacity": 32808, - "used": 32808, - "available": 0 - }, - "new_space": { - "memorySize": 2097152, - "committedMemory": 1294832, - "capacity": 1047456, - "used": 310256, - "available": 737200 - }, - "old_space": { - "memorySize": 2050629632, - "committedMemory": 2050492144, - "capacity": 2046893184, - "used": 2043371880, - "available": 3521304 - }, - "code_space": { - "memorySize": 3051520, - "committedMemory": 2877568, - "capacity": 2677056, - "used": 2677056, - "available": 0 - }, - "map_space": { - "memorySize": 3674112, - "committedMemory": 3673720, - "capacity": 2871600, - "used": 2871600, - "available": 0 - }, - "large_object_space": { - "memorySize": 88391680, - "committedMemory": 88391680, - "capacity": 88142320, - "used": 88142320, - "available": 0 - }, - "code_large_object_space": { - "memorySize": 622592, - "committedMemory": 622592, - "capacity": 544544, - "used": 544544, - "available": 0 - }, - "new_large_object_space": { - "memorySize": 0, - "committedMemory": 0, - "capacity": 1047456, - "used": 0, - "available": 1047456 - } - } - }, - "resourceUsage": { - "userCpuSeconds": 192.17, - "kernelCpuSeconds": 5.002, - "cpuConsumptionPercent": 3.67652, - "maxRss": 2266832896, - "pageFaults": { - "IORequired": 85, - "IONotRequired": 1071840 - }, - "fsActivity": { - "reads": 44616, - "writes": 16 - } - }, - "uvthreadResourceUsage": { - "userCpuSeconds": 89.3551, - "kernelCpuSeconds": 1.81098, - "cpuConsumptionPercent": 1.69991, - "fsActivity": { - "reads": 27384, - "writes": 16 - } - }, - "libuv": [ - ], - "workers": [ - ], - "environmentVariables": { - "LESSOPEN": "| /usr/bin/lesspipe %s", - "npm_package_dependencies__babel_plugin_transform_runtime": "^7.8.3", - "npm_package_dependencies_papaparse": "^4.3.5", - "npm_package_dependencies_regenerator_runtime": "^0.13.5", - "npm_config_cache_lock_stale": "60000", - "npm_config_ham_it_up": "", - "CONDA_PROMPT_MODIFIER": "(base) ", - "npm_package_scripts_smoke_test": "NODE_ENV=test ENV=dev jest ./test/smoke-test/urls.test.js --config puppeteer.config.js", - "npm_config_legacy_bundling": "", - "npm_config_sign_git_tag": "", - "USER": "kevin", - "npm_package_scripts_build_docs": "echo 'see ./docs-src/README.md'", - "npm_package_dependencies__babel_preset_react": "^7.0.0", - "npm_package_devDependencies_jest": "^25.1.0", - "npm_config_user_agent": "npm/6.14.4 node/v12.16.2 linux x64", - "npm_config_always_auth": "", - "TEXTDOMAIN": "im-config", - "XDG_SEAT": "seat0", - "npm_package_dependencies__babel_plugin_proposal_decorators": "^7.3.0", - "npm_package_dependencies_binomial": "^0.2.0", - "npm_package_dependencies_react_tweet_embed": "^1.1.0", - "npm_package_bugs_url": "https://github.com/nextstrain/auspice/issues", - "npm_config_bin_links": "true", - "npm_config_key": "", - "SSH_AGENT_PID": "1595", - "XDG_SESSION_TYPE": "x11", - "npm_package_dependencies__babel_core": "^7.3.4", - "npm_package_dependencies_d3_scale": "^1.0.5", - "npm_package_dependencies_node_fetch": "^2.1.2", - "npm_package_devDependencies_puppeteer": "^2.1.1", - "npm_config_allow_same_version": "", - "npm_config_description": "true", - "npm_config_fetch_retries": "2", - "npm_config_heading": "npm", - "npm_config_if_present": "", - "npm_config_init_version": "1.0.0", - "npm_config_user": "", - "npm_node_execpath": "/usr/local/bin/node", - "SHLVL": "3", - "npm_package_dependencies_clean_webpack_plugin": "^3.0.0", - "npm_package_dependencies_html_webpack_plugin": "^4.3.0", - "npm_package_devDependencies_chai_http": "^4.0.0", - "npm_package_devDependencies_jest_circus": "^25.3.0", - "npm_config_prefer_online": "", - "npm_config_noproxy": "", - "CONDA_SHLVL": "1", - "OLDPWD": "/home/kevin/repos/auspice/data", - "QT4_IM_MODULE": "xim", - "HOME": "/home/kevin", - "npm_package_dependencies_babel_plugin_strip_function_call": "^1.0.2", - "npm_package_dependencies_d3_collection": "^1.0.4", - "npm_package_dependencies_whatwg_fetch": "^0.10.1", - "npm_config_force": "", - "DESKTOP_SESSION": "ubuntu", - "TERM_PROGRAM_VERSION": "1.36.0", - "npm_package_scripts_server": "npm run view", - "npm_package_dependencies_linspace": "^1.0.0", - "npm_config_only": "", - "npm_config_read_only": "", - "npm_package_engines_node": "10.8.x", - "npm_package_dependencies_lodash_webpack_plugin": "^0.11.5", - "npm_package_devDependencies_chai": "^4.1.2", - "npm_config_cache_min": "10", - "npm_config_init_license": "ISC", - "GNOME_SHELL_SESSION_MODE": "ubuntu", - "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true", - "GTK_MODULES": "gail:atk-bridge", - "npm_package_scripts_integration_test_ci": "start-server-and-test server http://localhost:4000 integration-test", - "npm_package_dependencies_express_static_gzip": "^0.2.2", - "npm_package_dependencies_prettyjson": "^1.2.1", - "npm_config_editor": "vi", - "npm_config_rollback": "true", - "npm_config_tag_version_prefix": "v", - "npm_package_scripts_lint_fix": "eslint --fix src", - "npm_package_dependencies_leaflet": "^1.6.0", - "npm_package_dependencies_leaflet_gesture_handling": "^1.1.8", - "npm_package_dependencies_react_i18next": "^11.3.3", - "npm_package_dependencies_react_icons": "^3.9.0", - "npm_package_dependencies_redux_thunk": "^2.3.0", - "npm_package_dependencies_webpack": "^4.30.0", - "npm_config_cache_max": "Infinity", - "npm_config_timing": "", - "npm_config_userconfig": "/home/kevin/.npmrc", - "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus", - "npm_package_scripts_postinstall": "npm run create-data-dir", - "npm_package_dependencies_babel_plugin_lodash": "^3.3.4", - "npm_package_dependencies_compression": "^1.7.3", - "npm_package_dependencies_express_naked_redirect": "^0.1.2", - "npm_package_devDependencies_eslint_plugin_react_hooks": "^1.6.0", - "npm_config_engine_strict": "", - "npm_config_init_author_name": "", - "npm_config_init_author_url": "", - "npm_config_preid": "", - "npm_config_tmp": "/tmp", - "COLORTERM": "truecolor", - "_CE_M": "", - "npm_package_description": "Web app for visualizing pathogen evolution", - "npm_package_dependencies_d3_interpolate": "^1.1.5", - "npm_package_dependencies_i18next": "^19.3.2", - "npm_config_depth": "Infinity", - "npm_config_package_lock_only": "", - "npm_config_save_dev": "", - "npm_config_usage": "", - "npm_package_homepage": "https://www.npmjs.com/package/auspice", - "npm_package_scripts_get_data": "env bash ./scripts/get-data.sh", - "npm_package_dependencies_argparse": "^1.0.10", - "npm_package_dependencies_d3_shape": "^1.2.0", - "npm_package_dependencies_webpack_dev_middleware": "^3.1.3", - "npm_package_readmeFilename": "README.md", - "npm_config_metrics_registry": "https://registry.npmjs.org/", - "npm_config_cafile": "", - "npm_config_otp": "", - "npm_config_package_lock": "true", - "npm_config_progress": "true", - "npm_config_https_proxy": "", - "npm_config_save_prod": "", - "MANDATORY_PATH": "/usr/share/gconf/ubuntu.mandatory.path", - "IM_CONFIG_PHASE": "2", - "npm_package_scripts_dev": "node auspice.js develop --verbose", - "npm_config_audit": "true", - "npm_config_cidr": "", - "npm_config_onload_script": "", - "npm_config_sso_type": "oauth", - "LOGNAME": "kevin", - "GTK_IM_MODULE": "ibus", - "npm_package_dependencies_d3_ease": "^1.0.3", - "npm_package_dependencies_d3_zoom": "^1.1.3", - "npm_package_dependencies_request": "^2.87.0", - "npm_package_devDependencies_eslint_plugin_import": "^2.13.0", - "npm_config_rebuild_bundle": "true", - "npm_config_save_bundle": "", - "npm_config_shell": "/bin/bash", - "DESKTOP_AUTOSTART_ID": "10a209672190de9c8159077991272654400000014990007", - "_": "/usr/local/bin/npm", - "npm_package_dependencies_d3_format": "^1.3.0", - "npm_package_dependencies_express": "^4.16.3", - "npm_package_dependencies_json_loader": "^0.5.1", - "npm_package_dependencies_query_string": "^4.2.3", - "npm_package_dependencies_yaml_front_matter": "^4.0.0", - "npm_config_dry_run": "", - "npm_config_format_package_lock": "true", - "npm_config_prefix": "/usr/local", - "DEFAULTS_PATH": "/usr/share/gconf/ubuntu.default.path", - "npm_package_bin_auspice": "auspice.js", - "npm_package_scripts_prepare": "npm run build", - "npm_package_scripts_lint": "eslint src", - "npm_package_dependencies_babel_plugin_styled_components": "^1.10.0", - "npm_package_dependencies_i18next_resource_store_loader": "^0.1.2", - "npm_package_devDependencies_bundlesize": "^0.18.0", - "npm_config_scope": "", - "npm_config_browser": "", - "npm_config_cache_lock_wait": "10000", - "npm_config_ignore_prepublish": "", - "npm_config_registry": "https://registry.npmjs.org/", - "npm_config_save_optional": "", - "npm_config_searchopts": "", - "npm_config_versions": "", - "USERNAME": "kevin", - "XDG_SESSION_ID": "2", - "TERM": "xterm-256color", - "npm_package_dependencies_core_js": "^3.6.5", - "npm_package_dependencies_style_loader": "^0.13.2", - "npm_config_cache": "/home/kevin/.npm", - "npm_config_proxy": "", - "npm_config_send_metrics": "", - "_CE_CONDA": "", - "GNOME_DESKTOP_SESSION_ID": "this-is-deprecated", - "npm_package_scripts_start": "npm run view", - "npm_config_global_style": "", - "npm_config_ignore_scripts": "", - "npm_config_version": "", - "WINDOWPATH": "2", - "npm_package_scripts_rebuild_docker_image": "env bash ./scripts/rebuild-docker-image.sh", - "npm_package_dependencies_css_loader": "^2.1.1", - "npm_package_dependencies_react_hot_loader": "^4.8.4", - "npm_config_local_address": "", - "npm_config_viewer": "man", - "npm_config_node_gyp": "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", - "PATH": "/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/kevin/repos/auspice/node_modules/.bin:/home/kevin/anaconda3/bin:/home/kevin/anaconda3/condabin:/home/kevin/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", - "SESSION_MANAGER": "local/kevin-spectre:@/tmp/.ICE-unix/1499,unix/kevin-spectre:/tmp/.ICE-unix/1499", - "npm_package_name": "auspice", - "npm_package_repository_type": "git", - "npm_package_scripts_view": "node auspice.js view --verbose", - "npm_package_dependencies_d3_selection": "^1.1.0", - "npm_package_dependencies_react_ga": "^2.2.0", - "npm_config_audit_level": "low", - "npm_config_prefer_offline": "", - "NODE": "/usr/local/bin/node", - "XDG_MENU_PREFIX": "gnome-", - "S_COLORS": "auto", - "GNOME_TERMINAL_SCREEN": "/org/gnome/Terminal/screen/4f7fda0e_f171_47b3_a7fb_79646a276f78", - "XDG_RUNTIME_DIR": "/run/user/1000", - "npm_package_scripts_heroku_postbuild": "npm run build && npm run get-data && npm run get-narratives", - "npm_package_scripts_integration_test": "NODE_ENV=test ENV=dev jest ./test/integration/*.js --config puppeteer.config.js", - "npm_package_dependencies_dom_to_image": "^2.6.0", - "npm_package_dependencies_marked": "^0.7.0", - "npm_package_dependencies_react_redux": "^5.1.0", - "npm_package_devDependencies_eslint_plugin_jsx_a11y": "^5.1.1", - "npm_config_color": "true", - "npm_config_sign_git_commit": "", - "DISPLAY": ":0", - "npm_package_dependencies__hot_loader_react_dom": "^16.13.0", - "npm_package_devDependencies_eslint_config_airbnb": "^15.1.0", - "npm_package_devDependencies_eslint_config_defaults": "^7.0.1", - "npm_package_devDependencies_eslint_plugin_filenames": "^0.1.2", - "npm_config_fetch_retry_mintimeout": "10000", - "npm_config_maxsockets": "50", - "npm_config_offline": "", - "npm_config_sso_poll_frequency": "500", - "LANG": "en_US.UTF-8", - "XDG_CURRENT_DESKTOP": "ubuntu:GNOME", - "npm_package_dependencies_react_dom": "^16.8.6", - "npm_package_dependencies_redux": "^4.0.1", - "npm_package_dependencies_redux_devtools": "^3.5.0", - "npm_package_dependencies_run_sequence": "~0.3.6", - "npm_package_devDependencies_eslint": "^5.14.1", - "npm_config_umask": "0022", - "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:", - "TERM_PROGRAM": "vscode", - "XDG_SESSION_DESKTOP": "ubuntu", - "XMODIFIERS": "@im=ibus", - "GNOME_TERMINAL_SERVICE": ":1.147", - "XAUTHORITY": "/run/user/1000/gdm/Xauthority", - "npm_package_main": "index.js", - "npm_package_dependencies_create_react_class": "^15.6.0", - "npm_package_dependencies_webpack_hot_middleware": "^2.24.3", - "npm_package_gitHead": "074f13b971c22e99df2afb9051540fe92b81eb0e", - "npm_config_fund": "true", - "npm_config_fetch_retry_maxtimeout": "60000", - "npm_config_loglevel": "notice", - "npm_config_logs_max": "10", - "npm_config_message": "%s", - "npm_lifecycle_script": "node auspice.js develop --verbose", - "SSH_AUTH_SOCK": "/run/user/1000/keyring/ssh", - "CONDA_PYTHON_EXE": "/home/kevin/anaconda3/bin/python", - "npm_package_scripts_test": "jest test/*.js", - "npm_package_dependencies_chalk": "^2.4.1", - "npm_package_dependencies_webpack_chunk_hash": "^0.6.0", - "npm_config_ca": "", - "npm_config_cert": "", - "npm_config_global": "", - "npm_config_link": "", - "SHELL": "/bin/bash", - "npm_package_version": "2.16.0", - "npm_package_repository_url": "git+https://github.com/nextstrain/auspice.git", - "npm_package_scripts_get_narratives": "env bash ./scripts/get-narratives.sh", - "npm_package_scripts_smoke_test_ci": "start-server-and-test server http://localhost:4000 smoke-test", - "npm_package_dependencies_d3_array": "^1.2.0", - "npm_package_dependencies_d3_color": "^1.0.3", - "npm_package_dependencies_webpack_cli": "^3.1.2", - "npm_package_dependencies_webpack_bundle_analyzer": "^3.3.2", - "npm_package_devDependencies_jest_image_snapshot": "^3.0.1", - "npm_config_access": "", - "npm_config_also": "", - "npm_config_save": "true", - "npm_config_unicode": "true", - "npm_lifecycle_event": "dev", - "QT_ACCESSIBILITY": "1", - "GDMSESSION": "ubuntu", - "npm_package_scripts_build": "node auspice.js build --verbose", - "npm_config_argv": "{\"remain\":[],\"cooked\":[\"run\",\"dev\"],\"original\":[\"run\",\"dev\"]}", - "npm_config_before": "", - "npm_config_long": "", - "npm_config_production": "", - "npm_config_searchlimit": "20", - "npm_config_unsafe_perm": "true", - "npm_config_update_notifier": "true", - "LESSCLOSE": "/usr/bin/lesspipe %s %s", - "CONDA_DEFAULT_ENV": "base", - "npm_package_dependencies_compression_webpack_plugin": "^3.0.1", - "npm_package_dependencies_d3_timer": "^1.0.7", - "npm_package_dependencies_file_loader": "^1.1.11", - "npm_package_dependencies_lodash": "^4.17.15", - "npm_package_dependencies_typeface_lato": "^0.0.75", - "npm_config_auth_type": "legacy", - "npm_config_node_version": "12.16.2", - "npm_config_tag": "latest", - "npm_package_devDependencies_jest_puppeteer": "^4.4.0", - "npm_package_devDependencies_quoted_printable": "^1.0.1", - "npm_config_git_tag_version": "true", - "npm_config_commit_hooks": "true", - "npm_config_script_shell": "", - "npm_config_shrinkwrap": "true", - "TEXTDOMAINDIR": "/usr/share/locale/", - "GPG_AGENT_INFO": "/run/user/1000/gnupg/S.gpg-agent:0:1", - "npm_package_license": "AGPL-3.0-only", - "npm_package_scripts_gzip_and_upload": "env bash ./scripts/gzip-and-upload.sh", - "npm_package_dependencies__babel_plugin_proposal_class_properties": "^7.3.4", - "npm_package_dependencies_react_helmet": "^5.2.1", - "npm_package_devDependencies_eslint_plugin_react": "^7.2.1", - "npm_package_devDependencies_start_server_and_test": "^1.11.0", - "npm_config_fetch_retry_factor": "10", - "npm_config_save_exact": "", - "npm_config_strict_ssl": "true", - "XDG_VTNR": "2", - "QT_IM_MODULE": "ibus", - "npm_package_scripts_diff_lang": "./scripts/diff-lang.js", - "npm_package_dependencies__babel_plugin_syntax_dynamic_import": "^7.8.3", - "npm_package_dependencies_d3_brush": "^1.0.4", - "npm_package_dependencies_react_select": "^1.0.0-rc.5", - "npm_config_dev": "", - "npm_config_globalconfig": "/usr/local/etc/npmrc", - "npm_config_init_module": "/home/kevin/.npm-init.js", - "npm_config_parseable": "", - "PWD": "/home/kevin/repos/auspice", - "npm_package_scripts_create_data_dir": "env bash ./scripts/create-data-dir.sh", - "npm_package_dependencies_react_addons_css_transition_group": "^15.6.0", - "npm_config_globalignorefile": "/usr/local/etc/npmignore", - "npm_execpath": "/usr/local/lib/node_modules/npm/bin/npm-cli.js", - "CLUTTER_IM_MODULE": "xim", - "CONDA_EXE": "/home/kevin/anaconda3/bin/conda", - "XDG_DATA_DIRS": "/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop", - "XDG_CONFIG_DIRS": "/etc/xdg/xdg-ubuntu:/etc/xdg", - "npm_package_author_name": "James Hadfield, Trevor Bedford and Richard Neher", - "npm_package_engines_npm": "6.2.x", - "npm_package_dependencies_dompurify": "^2.0.7", - "npm_config_cache_lock_retries": "10", - "npm_config_searchstaleness": "900", - "npm_package_dependencies_mousetrap": "^1.6.2", - "npm_package_dependencies_prop_types": "^15.6.0", - "npm_package_dependencies_styled_components": "^4.0.3", - "npm_config_node_options": "", - "npm_config_save_prefix": "^", - "npm_config_scripts_prepend_node_path": "warn-only", - "CONDA_PREFIX": "/home/kevin/anaconda3", - "npm_package_devDependencies_babel_eslint": "^10.0.1", - "npm_config_group": "1000", - "npm_config_init_author_email": "", - "npm_config_searchexclude": "", - "VTE_VERSION": "5202", - "npm_package_dependencies_babel_loader": "^8.0.4", - "npm_package_dependencies_d3_transition": "^1.2.0", - "npm_package_dependencies_outer_product": "0.0.4", - "npm_config_git": "git", - "npm_config_optional": "true", - "npm_package_dependencies__babel_preset_env": "^7.9.6", - "npm_package_dependencies_awesomplete": "^1.1.2", - "npm_package_dependencies_d3_axis": "^1.0.6", - "npm_package_dependencies_react": "^16.8.6", - "npm_config_json": "", - "INIT_CWD": "/home/kevin/repos/auspice", - "BABEL_INCLUDE_TIMING_FUNCTIONS": "false", - "BABEL_ENV": "development", - "BABEL_EXTENSION_PATH": "undefined" - }, - "userLimits": { - "core_file_size_blocks": { - "soft": 0, - "hard": "unlimited" - }, - "data_seg_size_kbytes": { - "soft": "unlimited", - "hard": "unlimited" - }, - "file_size_blocks": { - "soft": "unlimited", - "hard": "unlimited" - }, - "max_locked_memory_bytes": { - "soft": 16777216, - "hard": 16777216 - }, - "max_memory_size_kbytes": { - "soft": "unlimited", - "hard": "unlimited" - }, - "open_files": { - "soft": 4096, - "hard": 4096 - }, - "stack_size_bytes": { - "soft": 8388608, - "hard": "unlimited" - }, - "cpu_time_seconds": { - "soft": "unlimited", - "hard": "unlimited" - }, - "max_user_processes": { - "soft": 30485, - "hard": 30485 - }, - "virtual_memory_kbytes": { - "soft": "unlimited", - "hard": "unlimited" - } - }, - "sharedObjects": [ - "linux-vdso.so.1", - "/lib/x86_64-linux-gnu/libdl.so.2", - "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", - "/lib/x86_64-linux-gnu/libm.so.6", - "/lib/x86_64-linux-gnu/libgcc_s.so.1", - "/lib/x86_64-linux-gnu/libpthread.so.0", - "/lib/x86_64-linux-gnu/libc.so.6", - "/lib64/ld-linux-x86-64.so.2", - "/lib/x86_64-linux-gnu/libnss_files.so.2" - ] -} \ No newline at end of file diff --git a/report.20200529.180046.16612.0.001.json b/report.20200529.180046.16612.0.001.json deleted file mode 100644 index 9880cf2ff..000000000 --- a/report.20200529.180046.16612.0.001.json +++ /dev/null @@ -1,739 +0,0 @@ - -{ - "header": { - "reportVersion": 2, - "event": "Allocation failed - JavaScript heap out of memory", - "trigger": "FatalError", - "filename": "report.20200529.180046.16612.0.001.json", - "dumpEventTime": "2020-05-29T18:00:46Z", - "dumpEventTimeStamp": "1590793246911", - "processId": 16612, - "threadId": null, - "cwd": "/home/kevin/repos/auspice", - "commandLine": [ - "node", - "auspice.js", - "develop", - "--verbose" - ], - "nodejsVersion": "v12.16.2", - "glibcVersionRuntime": "2.27", - "glibcVersionCompiler": "2.17", - "wordSize": 64, - "arch": "x64", - "platform": "linux", - "componentVersions": { - "node": "12.16.2", - "v8": "7.8.279.23-node.34", - "uv": "1.34.2", - "zlib": "1.2.11", - "brotli": "1.0.7", - "ares": "1.15.0", - "modules": "72", - "nghttp2": "1.40.0", - "napi": "5", - "llhttp": "2.0.4", - "http_parser": "2.9.3", - "openssl": "1.1.1e", - "cldr": "36.0", - "icu": "65.1", - "tz": "2019c", - "unicode": "12.1" - }, - "release": { - "name": "node", - "lts": "Erbium", - "headersUrl": "https://nodejs.org/download/release/v12.16.2/node-v12.16.2-headers.tar.gz", - "sourceUrl": "https://nodejs.org/download/release/v12.16.2/node-v12.16.2.tar.gz" - }, - "osName": "Linux", - "osRelease": "4.15.0-101-generic", - "osVersion": "#102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020", - "osMachine": "x86_64", - "cpus": [ - { - "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", - "speed": 2143, - "user": 9446000, - "nice": 28600, - "sys": 1971500, - "idle": 120840700, - "irq": 0 - }, - { - "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", - "speed": 2125, - "user": 9702000, - "nice": 29400, - "sys": 1938100, - "idle": 120690100, - "irq": 0 - }, - { - "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", - "speed": 2143, - "user": 10129200, - "nice": 48700, - "sys": 2148400, - "idle": 120084500, - "irq": 0 - }, - { - "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", - "speed": 2143, - "user": 9584600, - "nice": 30400, - "sys": 1957200, - "idle": 120040000, - "irq": 0 - }, - { - "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", - "speed": 2141, - "user": 9281900, - "nice": 31700, - "sys": 1877400, - "idle": 121170000, - "irq": 0 - }, - { - "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", - "speed": 2125, - "user": 8974500, - "nice": 27200, - "sys": 2066300, - "idle": 120540000, - "irq": 0 - }, - { - "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", - "speed": 2116, - "user": 9493000, - "nice": 32800, - "sys": 2253100, - "idle": 120653200, - "irq": 0 - }, - { - "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", - "speed": 2064, - "user": 9164900, - "nice": 29300, - "sys": 2093000, - "idle": 120890900, - "irq": 0 - } - ], - "networkInterfaces": [ - { - "name": "lo", - "internal": true, - "mac": "00:00:00:00:00:00", - "address": "127.0.0.1", - "netmask": "255.0.0.0", - "family": "IPv4" - }, - { - "name": "wlp2s0", - "internal": false, - "mac": "c0:b6:f9:8a:e6:3e", - "address": "10.0.0.73", - "netmask": "255.255.255.0", - "family": "IPv4" - }, - { - "name": "lo", - "internal": true, - "mac": "00:00:00:00:00:00", - "address": "::1", - "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", - "family": "IPv6", - "scopeid": 0 - }, - { - "name": "wlp2s0", - "internal": false, - "mac": "c0:b6:f9:8a:e6:3e", - "address": "2601:249:8b80:76d0::39ab", - "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", - "family": "IPv6", - "scopeid": 0 - }, - { - "name": "wlp2s0", - "internal": false, - "mac": "c0:b6:f9:8a:e6:3e", - "address": "2601:249:8b80:76d0:8977:e406:b38a:286", - "netmask": "ffff:ffff:ffff:ffff::", - "family": "IPv6", - "scopeid": 0 - }, - { - "name": "wlp2s0", - "internal": false, - "mac": "c0:b6:f9:8a:e6:3e", - "address": "2601:249:8b80:76d0:55b6:5467:cb8e:e6c", - "netmask": "ffff:ffff:ffff:ffff::", - "family": "IPv6", - "scopeid": 0 - }, - { - "name": "wlp2s0", - "internal": false, - "mac": "c0:b6:f9:8a:e6:3e", - "address": "fe80::4545:26d8:96c5:6d00", - "netmask": "ffff:ffff:ffff:ffff::", - "family": "IPv6", - "scopeid": 2 - } - ], - "host": "kevin-spectre" - }, - "javascriptStack": { - "message": "No stack.", - "stack": [ - "Unavailable." - ] - }, - "nativeStack": [ - { - "pc": "0x0000000000b40285", - "symbol": "report::TriggerNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, std::string const&, v8::Local) [node]" - }, - { - "pc": "0x0000000000a033ef", - "symbol": "node::OnFatalError(char const*, char const*) [node]" - }, - { - "pc": "0x0000000000b76ffe", - "symbol": "v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]" - }, - { - "pc": "0x0000000000b77379", - "symbol": "v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]" - }, - { - "pc": "0x0000000000d23ad5", - "symbol": " [node]" - }, - { - "pc": "0x0000000000d24166", - "symbol": "v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]" - }, - { - "pc": "0x0000000000d309e5", - "symbol": "v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]" - }, - { - "pc": "0x0000000000d31895", - "symbol": "v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]" - }, - { - "pc": "0x0000000000d3434c", - "symbol": "v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]" - }, - { - "pc": "0x0000000000cfaf1b", - "symbol": "v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]" - }, - { - "pc": "0x000000000103d85e", - "symbol": "v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]" - }, - { - "pc": "0x00000000013c03d9", - "symbol": " [node]" - } - ], - "javascriptHeap": { - "totalMemory": 2151567360, - "totalCommittedMemory": 2149917304, - "usedMemory": 2139710544, - "availableMemory": 48176232, - "memoryLimit": 2197815296, - "heapSpaces": { - "read_only_space": { - "memorySize": 262144, - "committedMemory": 33088, - "capacity": 32808, - "used": 32808, - "available": 0 - }, - "new_space": { - "memorySize": 2097152, - "committedMemory": 1181712, - "capacity": 1047456, - "used": 166616, - "available": 880840 - }, - "old_space": { - "memorySize": 2102009856, - "committedMemory": 2101620096, - "capacity": 2093174696, - "used": 2093174696, - "available": 0 - }, - "code_space": { - "memorySize": 2789376, - "committedMemory": 2673920, - "capacity": 2575296, - "used": 2575296, - "available": 0 - }, - "map_space": { - "memorySize": 3149824, - "committedMemory": 3149480, - "capacity": 2791440, - "used": 2791440, - "available": 0 - }, - "large_object_space": { - "memorySize": 40636416, - "committedMemory": 40636416, - "capacity": 40425144, - "used": 40425144, - "available": 0 - }, - "code_large_object_space": { - "memorySize": 622592, - "committedMemory": 622592, - "capacity": 544544, - "used": 544544, - "available": 0 - }, - "new_large_object_space": { - "memorySize": 0, - "committedMemory": 0, - "capacity": 1047456, - "used": 0, - "available": 1047456 - } - } - }, - "resourceUsage": { - "userCpuSeconds": 226.935, - "kernelCpuSeconds": 5.14958, - "cpuConsumptionPercent": 201.813, - "maxRss": 2241789952, - "pageFaults": { - "IORequired": 72, - "IONotRequired": 1009321 - }, - "fsActivity": { - "reads": 42072, - "writes": 24 - } - }, - "uvthreadResourceUsage": { - "userCpuSeconds": 100.154, - "kernelCpuSeconds": 2.27086, - "cpuConsumptionPercent": 89.0647, - "fsActivity": { - "reads": 21608, - "writes": 24 - } - }, - "libuv": [ - ], - "workers": [ - ], - "environmentVariables": { - "LESSOPEN": "| /usr/bin/lesspipe %s", - "npm_package_dependencies__babel_plugin_transform_runtime": "^7.8.3", - "npm_package_dependencies_papaparse": "^4.3.5", - "npm_package_dependencies_regenerator_runtime": "^0.13.5", - "npm_config_cache_lock_stale": "60000", - "npm_config_ham_it_up": "", - "CONDA_PROMPT_MODIFIER": "(base) ", - "npm_package_scripts_smoke_test": "NODE_ENV=test ENV=dev jest ./test/smoke-test/urls.test.js --config puppeteer.config.js", - "npm_config_legacy_bundling": "", - "npm_config_sign_git_tag": "", - "USER": "kevin", - "npm_package_scripts_build_docs": "echo 'see ./docs-src/README.md'", - "npm_package_dependencies__babel_preset_react": "^7.0.0", - "npm_package_devDependencies_jest": "^25.1.0", - "npm_config_user_agent": "npm/6.14.4 node/v12.16.2 linux x64", - "npm_config_always_auth": "", - "TEXTDOMAIN": "im-config", - "XDG_SEAT": "seat0", - "npm_package_dependencies__babel_plugin_proposal_decorators": "^7.3.0", - "npm_package_dependencies_binomial": "^0.2.0", - "npm_package_dependencies_react_tweet_embed": "^1.1.0", - "npm_package_bugs_url": "https://github.com/nextstrain/auspice/issues", - "npm_config_bin_links": "true", - "npm_config_key": "", - "SSH_AGENT_PID": "1595", - "XDG_SESSION_TYPE": "x11", - "npm_package_dependencies__babel_core": "^7.3.4", - "npm_package_dependencies_d3_scale": "^1.0.5", - "npm_package_dependencies_node_fetch": "^2.1.2", - "npm_package_devDependencies_puppeteer": "^2.1.1", - "npm_config_allow_same_version": "", - "npm_config_description": "true", - "npm_config_fetch_retries": "2", - "npm_config_heading": "npm", - "npm_config_if_present": "", - "npm_config_init_version": "1.0.0", - "npm_config_user": "", - "npm_node_execpath": "/usr/local/bin/node", - "SHLVL": "3", - "npm_package_dependencies_clean_webpack_plugin": "^3.0.0", - "npm_package_dependencies_html_webpack_plugin": "^4.3.0", - "npm_package_devDependencies_chai_http": "^4.0.0", - "npm_package_devDependencies_jest_circus": "^25.3.0", - "npm_config_prefer_online": "", - "npm_config_noproxy": "", - "CONDA_SHLVL": "1", - "OLDPWD": "/home/kevin/repos/auspice/data", - "QT4_IM_MODULE": "xim", - "HOME": "/home/kevin", - "npm_package_dependencies_babel_plugin_strip_function_call": "^1.0.2", - "npm_package_dependencies_d3_collection": "^1.0.4", - "npm_package_dependencies_whatwg_fetch": "^0.10.1", - "npm_config_force": "", - "DESKTOP_SESSION": "ubuntu", - "TERM_PROGRAM_VERSION": "1.36.0", - "npm_package_scripts_server": "npm run view", - "npm_package_dependencies_linspace": "^1.0.0", - "npm_config_only": "", - "npm_config_read_only": "", - "npm_package_engines_node": "10.8.x", - "npm_package_dependencies_lodash_webpack_plugin": "^0.11.5", - "npm_package_devDependencies_chai": "^4.1.2", - "npm_config_cache_min": "10", - "npm_config_init_license": "ISC", - "GNOME_SHELL_SESSION_MODE": "ubuntu", - "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true", - "GTK_MODULES": "gail:atk-bridge", - "npm_package_scripts_integration_test_ci": "start-server-and-test server http://localhost:4000 integration-test", - "npm_package_dependencies_express_static_gzip": "^0.2.2", - "npm_package_dependencies_prettyjson": "^1.2.1", - "npm_config_editor": "vi", - "npm_config_rollback": "true", - "npm_config_tag_version_prefix": "v", - "npm_package_scripts_lint_fix": "eslint --fix src", - "npm_package_dependencies_leaflet": "^1.6.0", - "npm_package_dependencies_leaflet_gesture_handling": "^1.1.8", - "npm_package_dependencies_react_i18next": "^11.3.3", - "npm_package_dependencies_react_icons": "^3.9.0", - "npm_package_dependencies_redux_thunk": "^2.3.0", - "npm_package_dependencies_webpack": "^4.30.0", - "npm_config_cache_max": "Infinity", - "npm_config_timing": "", - "npm_config_userconfig": "/home/kevin/.npmrc", - "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus", - "npm_package_scripts_postinstall": "npm run create-data-dir", - "npm_package_dependencies_babel_plugin_lodash": "^3.3.4", - "npm_package_dependencies_compression": "^1.7.3", - "npm_package_dependencies_express_naked_redirect": "^0.1.2", - "npm_package_devDependencies_eslint_plugin_react_hooks": "^1.6.0", - "npm_config_engine_strict": "", - "npm_config_init_author_name": "", - "npm_config_init_author_url": "", - "npm_config_preid": "", - "npm_config_tmp": "/tmp", - "COLORTERM": "truecolor", - "_CE_M": "", - "npm_package_description": "Web app for visualizing pathogen evolution", - "npm_package_dependencies_d3_interpolate": "^1.1.5", - "npm_package_dependencies_i18next": "^19.3.2", - "npm_config_depth": "Infinity", - "npm_config_package_lock_only": "", - "npm_config_save_dev": "", - "npm_config_usage": "", - "npm_package_homepage": "https://www.npmjs.com/package/auspice", - "npm_package_scripts_get_data": "env bash ./scripts/get-data.sh", - "npm_package_dependencies_argparse": "^1.0.10", - "npm_package_dependencies_d3_shape": "^1.2.0", - "npm_package_dependencies_webpack_dev_middleware": "^3.1.3", - "npm_package_readmeFilename": "README.md", - "npm_config_metrics_registry": "https://registry.npmjs.org/", - "npm_config_cafile": "", - "npm_config_otp": "", - "npm_config_package_lock": "true", - "npm_config_progress": "true", - "npm_config_https_proxy": "", - "npm_config_save_prod": "", - "MANDATORY_PATH": "/usr/share/gconf/ubuntu.mandatory.path", - "IM_CONFIG_PHASE": "2", - "npm_package_scripts_dev": "node auspice.js develop --verbose", - "npm_config_audit": "true", - "npm_config_cidr": "", - "npm_config_onload_script": "", - "npm_config_sso_type": "oauth", - "LOGNAME": "kevin", - "GTK_IM_MODULE": "ibus", - "npm_package_dependencies_d3_ease": "^1.0.3", - "npm_package_dependencies_d3_zoom": "^1.1.3", - "npm_package_dependencies_request": "^2.87.0", - "npm_package_devDependencies_eslint_plugin_import": "^2.13.0", - "npm_config_rebuild_bundle": "true", - "npm_config_save_bundle": "", - "npm_config_shell": "/bin/bash", - "DESKTOP_AUTOSTART_ID": "10a209672190de9c8159077991272654400000014990007", - "_": "/usr/local/bin/npm", - "npm_package_dependencies_d3_format": "^1.3.0", - "npm_package_dependencies_express": "^4.16.3", - "npm_package_dependencies_json_loader": "^0.5.1", - "npm_package_dependencies_query_string": "^4.2.3", - "npm_package_dependencies_yaml_front_matter": "^4.0.0", - "npm_config_dry_run": "", - "npm_config_format_package_lock": "true", - "npm_config_prefix": "/usr/local", - "DEFAULTS_PATH": "/usr/share/gconf/ubuntu.default.path", - "npm_package_bin_auspice": "auspice.js", - "npm_package_scripts_prepare": "npm run build", - "npm_package_scripts_lint": "eslint src", - "npm_package_dependencies_babel_plugin_styled_components": "^1.10.0", - "npm_package_dependencies_i18next_resource_store_loader": "^0.1.2", - "npm_package_devDependencies_bundlesize": "^0.18.0", - "npm_config_scope": "", - "npm_config_browser": "", - "npm_config_cache_lock_wait": "10000", - "npm_config_ignore_prepublish": "", - "npm_config_registry": "https://registry.npmjs.org/", - "npm_config_save_optional": "", - "npm_config_searchopts": "", - "npm_config_versions": "", - "USERNAME": "kevin", - "XDG_SESSION_ID": "2", - "TERM": "xterm-256color", - "npm_package_dependencies_core_js": "^3.6.5", - "npm_package_dependencies_style_loader": "^0.13.2", - "npm_config_cache": "/home/kevin/.npm", - "npm_config_proxy": "", - "npm_config_send_metrics": "", - "_CE_CONDA": "", - "GNOME_DESKTOP_SESSION_ID": "this-is-deprecated", - "npm_package_scripts_start": "npm run view", - "npm_config_global_style": "", - "npm_config_ignore_scripts": "", - "npm_config_version": "", - "WINDOWPATH": "2", - "npm_package_scripts_rebuild_docker_image": "env bash ./scripts/rebuild-docker-image.sh", - "npm_package_dependencies_css_loader": "^2.1.1", - "npm_package_dependencies_react_hot_loader": "^4.8.4", - "npm_config_local_address": "", - "npm_config_viewer": "man", - "npm_config_node_gyp": "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", - "PATH": "/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/kevin/repos/auspice/node_modules/.bin:/home/kevin/anaconda3/bin:/home/kevin/anaconda3/condabin:/home/kevin/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", - "SESSION_MANAGER": "local/kevin-spectre:@/tmp/.ICE-unix/1499,unix/kevin-spectre:/tmp/.ICE-unix/1499", - "npm_package_name": "auspice", - "npm_package_repository_type": "git", - "npm_package_scripts_view": "node auspice.js view --verbose", - "npm_package_dependencies_d3_selection": "^1.1.0", - "npm_package_dependencies_react_ga": "^2.2.0", - "npm_config_audit_level": "low", - "npm_config_prefer_offline": "", - "NODE": "/usr/local/bin/node", - "XDG_MENU_PREFIX": "gnome-", - "S_COLORS": "auto", - "GNOME_TERMINAL_SCREEN": "/org/gnome/Terminal/screen/4f7fda0e_f171_47b3_a7fb_79646a276f78", - "XDG_RUNTIME_DIR": "/run/user/1000", - "npm_package_scripts_heroku_postbuild": "npm run build && npm run get-data && npm run get-narratives", - "npm_package_scripts_integration_test": "NODE_ENV=test ENV=dev jest ./test/integration/*.js --config puppeteer.config.js", - "npm_package_dependencies_dom_to_image": "^2.6.0", - "npm_package_dependencies_marked": "^0.7.0", - "npm_package_dependencies_react_redux": "^5.1.0", - "npm_package_devDependencies_eslint_plugin_jsx_a11y": "^5.1.1", - "npm_config_color": "true", - "npm_config_sign_git_commit": "", - "DISPLAY": ":0", - "npm_package_dependencies__hot_loader_react_dom": "^16.13.0", - "npm_package_devDependencies_eslint_config_airbnb": "^15.1.0", - "npm_package_devDependencies_eslint_config_defaults": "^7.0.1", - "npm_package_devDependencies_eslint_plugin_filenames": "^0.1.2", - "npm_config_fetch_retry_mintimeout": "10000", - "npm_config_maxsockets": "50", - "npm_config_offline": "", - "npm_config_sso_poll_frequency": "500", - "LANG": "en_US.UTF-8", - "XDG_CURRENT_DESKTOP": "ubuntu:GNOME", - "npm_package_dependencies_react_dom": "^16.8.6", - "npm_package_dependencies_redux": "^4.0.1", - "npm_package_dependencies_redux_devtools": "^3.5.0", - "npm_package_dependencies_run_sequence": "~0.3.6", - "npm_package_devDependencies_eslint": "^5.14.1", - "npm_config_umask": "0022", - "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:", - "TERM_PROGRAM": "vscode", - "XDG_SESSION_DESKTOP": "ubuntu", - "XMODIFIERS": "@im=ibus", - "GNOME_TERMINAL_SERVICE": ":1.147", - "XAUTHORITY": "/run/user/1000/gdm/Xauthority", - "npm_package_main": "index.js", - "npm_package_dependencies_create_react_class": "^15.6.0", - "npm_package_dependencies_webpack_hot_middleware": "^2.24.3", - "npm_package_gitHead": "074f13b971c22e99df2afb9051540fe92b81eb0e", - "npm_config_fund": "true", - "npm_config_fetch_retry_maxtimeout": "60000", - "npm_config_loglevel": "notice", - "npm_config_logs_max": "10", - "npm_config_message": "%s", - "npm_lifecycle_script": "node auspice.js develop --verbose", - "SSH_AUTH_SOCK": "/run/user/1000/keyring/ssh", - "CONDA_PYTHON_EXE": "/home/kevin/anaconda3/bin/python", - "npm_package_scripts_test": "jest test/*.js", - "npm_package_dependencies_chalk": "^2.4.1", - "npm_package_dependencies_webpack_chunk_hash": "^0.6.0", - "npm_config_ca": "", - "npm_config_cert": "", - "npm_config_global": "", - "npm_config_link": "", - "SHELL": "/bin/bash", - "npm_package_version": "2.16.0", - "npm_package_repository_url": "git+https://github.com/nextstrain/auspice.git", - "npm_package_scripts_get_narratives": "env bash ./scripts/get-narratives.sh", - "npm_package_scripts_smoke_test_ci": "start-server-and-test server http://localhost:4000 smoke-test", - "npm_package_dependencies_d3_array": "^1.2.0", - "npm_package_dependencies_d3_color": "^1.0.3", - "npm_package_dependencies_webpack_cli": "^3.1.2", - "npm_package_dependencies_webpack_bundle_analyzer": "^3.3.2", - "npm_package_devDependencies_jest_image_snapshot": "^3.0.1", - "npm_config_access": "", - "npm_config_also": "", - "npm_config_save": "true", - "npm_config_unicode": "true", - "npm_lifecycle_event": "dev", - "QT_ACCESSIBILITY": "1", - "GDMSESSION": "ubuntu", - "npm_package_scripts_build": "node auspice.js build --verbose", - "npm_config_argv": "{\"remain\":[],\"cooked\":[\"run\",\"dev\"],\"original\":[\"run\",\"dev\"]}", - "npm_config_before": "", - "npm_config_long": "", - "npm_config_production": "", - "npm_config_searchlimit": "20", - "npm_config_unsafe_perm": "true", - "npm_config_update_notifier": "true", - "LESSCLOSE": "/usr/bin/lesspipe %s %s", - "CONDA_DEFAULT_ENV": "base", - "npm_package_dependencies_compression_webpack_plugin": "^3.0.1", - "npm_package_dependencies_d3_timer": "^1.0.7", - "npm_package_dependencies_file_loader": "^1.1.11", - "npm_package_dependencies_lodash": "^4.17.15", - "npm_package_dependencies_typeface_lato": "^0.0.75", - "npm_config_auth_type": "legacy", - "npm_config_node_version": "12.16.2", - "npm_config_tag": "latest", - "npm_package_devDependencies_jest_puppeteer": "^4.4.0", - "npm_package_devDependencies_quoted_printable": "^1.0.1", - "npm_config_git_tag_version": "true", - "npm_config_commit_hooks": "true", - "npm_config_script_shell": "", - "npm_config_shrinkwrap": "true", - "TEXTDOMAINDIR": "/usr/share/locale/", - "GPG_AGENT_INFO": "/run/user/1000/gnupg/S.gpg-agent:0:1", - "npm_package_license": "AGPL-3.0-only", - "npm_package_scripts_gzip_and_upload": "env bash ./scripts/gzip-and-upload.sh", - "npm_package_dependencies__babel_plugin_proposal_class_properties": "^7.3.4", - "npm_package_dependencies_react_helmet": "^5.2.1", - "npm_package_devDependencies_eslint_plugin_react": "^7.2.1", - "npm_package_devDependencies_start_server_and_test": "^1.11.0", - "npm_config_fetch_retry_factor": "10", - "npm_config_save_exact": "", - "npm_config_strict_ssl": "true", - "XDG_VTNR": "2", - "QT_IM_MODULE": "ibus", - "npm_package_scripts_diff_lang": "./scripts/diff-lang.js", - "npm_package_dependencies__babel_plugin_syntax_dynamic_import": "^7.8.3", - "npm_package_dependencies_d3_brush": "^1.0.4", - "npm_package_dependencies_react_select": "^1.0.0-rc.5", - "npm_config_dev": "", - "npm_config_globalconfig": "/usr/local/etc/npmrc", - "npm_config_init_module": "/home/kevin/.npm-init.js", - "npm_config_parseable": "", - "PWD": "/home/kevin/repos/auspice", - "npm_package_scripts_create_data_dir": "env bash ./scripts/create-data-dir.sh", - "npm_package_dependencies_react_addons_css_transition_group": "^15.6.0", - "npm_config_globalignorefile": "/usr/local/etc/npmignore", - "npm_execpath": "/usr/local/lib/node_modules/npm/bin/npm-cli.js", - "CLUTTER_IM_MODULE": "xim", - "CONDA_EXE": "/home/kevin/anaconda3/bin/conda", - "XDG_DATA_DIRS": "/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop", - "XDG_CONFIG_DIRS": "/etc/xdg/xdg-ubuntu:/etc/xdg", - "npm_package_author_name": "James Hadfield, Trevor Bedford and Richard Neher", - "npm_package_engines_npm": "6.2.x", - "npm_package_dependencies_dompurify": "^2.0.7", - "npm_config_cache_lock_retries": "10", - "npm_config_searchstaleness": "900", - "npm_package_dependencies_mousetrap": "^1.6.2", - "npm_package_dependencies_prop_types": "^15.6.0", - "npm_package_dependencies_styled_components": "^4.0.3", - "npm_config_node_options": "", - "npm_config_save_prefix": "^", - "npm_config_scripts_prepend_node_path": "warn-only", - "CONDA_PREFIX": "/home/kevin/anaconda3", - "npm_package_devDependencies_babel_eslint": "^10.0.1", - "npm_config_group": "1000", - "npm_config_init_author_email": "", - "npm_config_searchexclude": "", - "VTE_VERSION": "5202", - "npm_package_dependencies_babel_loader": "^8.0.4", - "npm_package_dependencies_d3_transition": "^1.2.0", - "npm_package_dependencies_outer_product": "0.0.4", - "npm_config_git": "git", - "npm_config_optional": "true", - "npm_package_dependencies__babel_preset_env": "^7.9.6", - "npm_package_dependencies_awesomplete": "^1.1.2", - "npm_package_dependencies_d3_axis": "^1.0.6", - "npm_package_dependencies_react": "^16.8.6", - "npm_config_json": "", - "INIT_CWD": "/home/kevin/repos/auspice", - "BABEL_INCLUDE_TIMING_FUNCTIONS": "false", - "BABEL_ENV": "development", - "BABEL_EXTENSION_PATH": "undefined" - }, - "userLimits": { - "core_file_size_blocks": { - "soft": 0, - "hard": "unlimited" - }, - "data_seg_size_kbytes": { - "soft": "unlimited", - "hard": "unlimited" - }, - "file_size_blocks": { - "soft": "unlimited", - "hard": "unlimited" - }, - "max_locked_memory_bytes": { - "soft": 16777216, - "hard": 16777216 - }, - "max_memory_size_kbytes": { - "soft": "unlimited", - "hard": "unlimited" - }, - "open_files": { - "soft": 4096, - "hard": 4096 - }, - "stack_size_bytes": { - "soft": 8388608, - "hard": "unlimited" - }, - "cpu_time_seconds": { - "soft": "unlimited", - "hard": "unlimited" - }, - "max_user_processes": { - "soft": 30485, - "hard": 30485 - }, - "virtual_memory_kbytes": { - "soft": "unlimited", - "hard": "unlimited" - } - }, - "sharedObjects": [ - "linux-vdso.so.1", - "/lib/x86_64-linux-gnu/libdl.so.2", - "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", - "/lib/x86_64-linux-gnu/libm.so.6", - "/lib/x86_64-linux-gnu/libgcc_s.so.1", - "/lib/x86_64-linux-gnu/libpthread.so.0", - "/lib/x86_64-linux-gnu/libc.so.6", - "/lib64/ld-linux-x86-64.so.2", - "/lib/x86_64-linux-gnu/libnss_files.so.2" - ] -} \ No newline at end of file diff --git a/src/components/tree/reactD3Interface/callbacks.js b/src/components/tree/reactD3Interface/callbacks.js index a08eecd71..c4bf7eb28 100644 --- a/src/components/tree/reactD3Interface/callbacks.js +++ b/src/components/tree/reactD3Interface/callbacks.js @@ -66,9 +66,6 @@ export const onBranchClick = function onBranchClick(d) { // (The order of the drop-down on the menu) // Can't use AA mut lists as zoom labels currently - URL is bad, but also, means every node has a label, and many conflict... let legalBranchLabels; - // Check if the clicked branch is currently in view - // Determines whether to zoom into the clade or zoom out of it and whether to append or remove a clades label from the URL query - const isTargetBranchInView = (getIdxOfInViewRootNode(d.n) === d.n.arrayIdx); // Check has some branch labels, and remove 'aa' ones. if (d.n.branch_attrs && d.n.branch_attrs.labels !== undefined) { @@ -83,11 +80,11 @@ export const onBranchClick = function onBranchClick(d) { ); // then use the first! const key = legalBranchLabels[0]; - cladeSelected = isTargetBranchInView ? "" : `${key}:${d.n.branch_attrs.labels[key]}`; + cladeSelected = `${key}:${d.n.branch_attrs.labels[key]}`; } /* Clicking on a branch means we want to zoom into the clade defined by that branch _except_ when it's the "in-view" root branch, in which case we want to zoom out */ - const arrayIdxToZoomTo = (isTargetBranchInView) ? + const arrayIdxToZoomTo = (getIdxOfInViewRootNode(d.n) === d.n.arrayIdx) ? getParentBeyondPolytomy(d.n, this.props.distanceMeasure).arrayIdx : d.n.arrayIdx; if (d.that.params.orientation[0] === 1) root[0] = arrayIdxToZoomTo; From 54a97438f8700be3dbdd3dfe7f2e4b0f73c2ccc1 Mon Sep 17 00:00:00 2001 From: Kevin Tun Date: Tue, 2 Jun 2020 16:01:09 -0500 Subject: [PATCH 3/3] fixed URL query update when zooming out of labelled subtree --- src/components/tree/reactD3Interface/callbacks.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/tree/reactD3Interface/callbacks.js b/src/components/tree/reactD3Interface/callbacks.js index c4bf7eb28..36a41bd85 100644 --- a/src/components/tree/reactD3Interface/callbacks.js +++ b/src/components/tree/reactD3Interface/callbacks.js @@ -67,6 +67,9 @@ export const onBranchClick = function onBranchClick(d) { // Can't use AA mut lists as zoom labels currently - URL is bad, but also, means every node has a label, and many conflict... let legalBranchLabels; // Check has some branch labels, and remove 'aa' ones. + // Check if the clicked branch is currently in view + // Determines whether to zoom into the clade or zoom out of it and whether to append or remove a clades label from the URL query + const isTargetBranchInView = (getIdxOfInViewRootNode(d.n) === d.n.arrayIdx); if (d.n.branch_attrs && d.n.branch_attrs.labels !== undefined) { legalBranchLabels = Object.keys(d.n.branch_attrs.labels).filter((label) => label !== "aa"); @@ -80,11 +83,11 @@ export const onBranchClick = function onBranchClick(d) { ); // then use the first! const key = legalBranchLabels[0]; - cladeSelected = `${key}:${d.n.branch_attrs.labels[key]}`; + cladeSelected = isTargetBranchInView ? "" : `${key}:${d.n.branch_attrs.labels[key]}`; } /* Clicking on a branch means we want to zoom into the clade defined by that branch _except_ when it's the "in-view" root branch, in which case we want to zoom out */ - const arrayIdxToZoomTo = (getIdxOfInViewRootNode(d.n) === d.n.arrayIdx) ? + const arrayIdxToZoomTo = (isTargetBranchInView) ? getParentBeyondPolytomy(d.n, this.props.distanceMeasure).arrayIdx : d.n.arrayIdx; if (d.that.params.orientation[0] === 1) root[0] = arrayIdxToZoomTo;