lab-cosmo / chemiscope

An interactive structure/property explorer for materials and molecules
http://chemiscope.org
BSD 3-Clause "New" or "Revised" License
121 stars 29 forks source link

Atom property visualisation #293

Closed angerossi closed 9 months ago

angerossi commented 10 months ago

Allow the atom-type properties to be displayed in the structure viewer using the RWB and Sinebow color maps supported by 3dmol.

UI changes:

Future improvements:

Other notes:

angerossi commented 10 months ago

I wonder why the tests/lints failed? I was sure to run both prettier and npm test before making the PR

ceriottm commented 10 months ago

Thanks. This looks like the core functionality is really there. Before we can merge though I think there are several points we need to address:

Luthaf commented 10 months ago

I wonder why the tests/lints failed? I was sure to run both prettier and npm test before making the PR

This is unrelated to your code, it was an issue with npm I fixed on master. You should be able to rebase & get the fix.

rosecers commented 10 months ago

Will this just affect the info bar or the coloring of the atoms as well? latter might be nice if it's not in here.

Luthaf commented 10 months ago

This is coloring the atoms with atomic properties, and doing nothing with the info panel.

ceriottm commented 9 months ago

Just a note that this fixes #118

ceriottm commented 9 months ago

I tried to merge the shape work, but it looks like this branched off main quite some time ago, so it's not entirely trivial. Would be good to rebase before doing any more work, as it won't get easier to bring the branches in sync.

ceriottm commented 9 months ago

I will close this PR that has apparently been superseded by #303 . If there is a reason to keep it open we can always re-open it.