cryos / avogadro

Avogadro 1 is not under active development, the repository was archived in September 2021. Development of Avogadro 2 is being done at https://github.com/openchemistry/avogadrolibs. Avogadro is an advanced molecular editor designed for cross-platform use in computational chemistry, molecular modeling, bioinformatics, materials science, and related areas.
http://avogadro.cc/
GNU General Public License v2.0
334 stars 156 forks source link

Incorrect distance measuring when openinig cif file #910

Open imitrichev opened 6 years ago

imitrichev commented 6 years ago

Problem: When loading cif file from Cambridge Crystallographic database (CSD Entry: PMCIIR, link), distance between Ir and Ir atoms in dimer is displayed as 4.72 A in Avogadro. In internal Cambridge Crystallographic database viewer 4.072 A. XCrysDen also measures distance between Ir and Ir atoms as 4.072 A. Avogadro 1.1.1/1.2.0 seems to have a bug (maybe, incorrect cif reading?)

Tested on: 1) Ubuntu 16.04, Avogadro from Ubuntu 16.04 repos "Avogadro version: 1.1.1 Git:
LibAvogadro version: 1.1.1 Git: " Locale: "ru_RU" Translation successfully loaded. Avogadro: 1.1.1 (Хэш ) LibAvogadro: 1.1.1 (Хэш ) Qt: 4.8.7 OpenBabel: 2.3.2 2) Ubuntu 16.04, Avogadro from git "Avogadro version: 1.2.0 Git: 8ac8408 LibAvogadro version: 1.2.0 Git: 8ac8408" Locale: "ru_RU" Translation successfully loaded. Avogadro: 1.2.0 (Хэш 8ac8408) LibAvogadro: 1.2.0 (Хэш 8ac8408) Qt: 4.8.7 OpenBabel: 2.3.2 avogadro ccdc_viewer