lsmo-epfl / curated-cofs-submission

Interactive form for submitting new entries to the CURATED COFs database.
Other
1 stars 0 forks source link

Latest ASE giving problems #17

Open danieleongari opened 3 years ago

danieleongari commented 3 years ago

With the latest version of ASE (3.21.1) I get the following error when loading a standard CIF:

  File "/Users/danieleongari/opt/anaconda3/lib/python3.8/site-packages/ase/io/cif.py", line 499, in parse_block
    assert line.lower().startswith('data_')
AssertionError

the problem does not occur with my previous version of ASE (3.19.1), so maybe let's give a look or constrain the version.

ltalirz commented 3 years ago

we've constrained to ase<3.20 in aiida-lsmo already

at some point we'll need to figure out "who's right" (or whether there is a way to make the new ase more lenient)

ltalirz commented 3 years ago

from the release notes:

3.20.2:

Perhaps the reason is that we are using variable definitions that are deprecated in the CIF standard.

ltalirz commented 3 years ago

Change in the source code: https://gitlab.com/ase/ase/-/merge_requests/2253/diffs particularly affects space group symmetry symbols