diff --git a/README.md b/README.md index ab714cf3480ad84c980b4050915e0ad35bae20b3..51b7e5aad2a1b80839fd3403ae2ce196f84c605c 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,9 @@ Omitted versions are plain bugfix releases with only minor changes and fixes. - The Artificial Intelligence Toolkit (at least its tutorial page) is part of the GUI - The OASIS comprises Repository, Archive, Metainfo, Encyclopedia, and Artificial Intelligence Toolkit. +### v0.8.7 +- a new variant of the Metainfo browser + ### v0.8.1 - switched to support Python 3.7 - client library as pypi package `nomad-lab` diff --git a/gui/src/components/Histogram.js b/gui/src/components/Histogram.js index 485f01f1b6c38f0b5456e62d8a0969bff953a2c3..ad80fbafde4258d4770ce4ecfe7de2bc955f563a 100644 --- a/gui/src/components/Histogram.js +++ b/gui/src/components/Histogram.js @@ -199,7 +199,7 @@ export default function Histogram({ item .select('.name') - .text(d => getValueLabel(d.name)) + .text(d => getValueLabel(d)) .attr('y', d => y(d.key) + 4) .style('fill', textColor) diff --git a/gui/src/components/search/QuantityHistogram.js b/gui/src/components/search/QuantityHistogram.js index a7d7859284bebb958c592d5ad89faf4116a44756..c49d67da4afa8e9f9199b3734179d1ce0e71ffe7 100644 --- a/gui/src/components/search/QuantityHistogram.js +++ b/gui/src/components/search/QuantityHistogram.js @@ -55,6 +55,7 @@ export default function QuantityHistogram({ numberOfValues={numberOfValues} title={title} onClick={handleItemClicked} + selected={query[quantity]} {...props} /> } diff --git a/nomad/cli/dev.py b/nomad/cli/dev.py index 8c05c7246d36857439e7b8dfcc45c0e7c3b85c17..39512507d708a228be48f5bf5072754f6db9ae6c 100644 --- a/nomad/cli/dev.py +++ b/nomad/cli/dev.py @@ -80,7 +80,7 @@ def search_quantities(): from nomad import search # Due to this import, the parsing module will register all code_names based on parser # implementations. - from nomad import parsing # pylint: disable=unused-import + from nomad.parsing.parsers import parser_dict # pylint: disable=unused-import import json def to_dict(search_quantity):