[ase-users] ASE-3.13 release candidate
Jens Jørgen Mortensen
jensj at fysik.dtu.dk
Mon Jan 23 11:01:15 CET 2017
On 01/23/2017 10:57 AM, Ask Hjorth Larsen wrote:
>
>
> El 23 ene. 2017 9:34 a. m., "Jens Jørgen Mortensen"
> <jensj at fysik.dtu.dk <mailto:jensj at fysik.dtu.dk>> escribió:
>
> On 01/21/2017 03:02 AM, Ask Hjorth Larsen wrote:
>
> Hi
>
> I noticed an error with isinstance(..., str) which would be
> triggered
> when writing an eps from ase-gui in text mode (and probably
> also from
> the actual GUI). A fix has been pushed. However there could
> be many
> cases of bugginess because there are many isinstance calls on
> strings:
>
> http://dcwww.camd.dtu.dk/~askhl/files/strings-isinstance.txt
> <http://dcwww.camd.dtu.dk/%7Easkhl/files/strings-isinstance.txt>
>
> I can perhaps look at this one of these days, but now it is
> very late.
>
>
> That would be great. Please use "isinstance(..., basestring)" and
> "from ase.utils import basestring" and not "hasattr(..., ''swapcase").
>
>
> Maybe define isstring(obj)? If we need to add an import it might as
> well do the whole job.
We have standardized on "isinstance(..., basestring)" which is easy to
change to "isinstance(..., str)" once we drop support for legacy Python
(Python 2).
Jens Jørgen
>
> Best regards
> Ask
>
>
>
> Jens Jørgen
>
>
> Best regards
> Ask
>
> 2017-01-17 11:22 GMT+01:00 Jens Jørgen Mortensen via ase-users
> <ase-users at listserv.fysik.dtu.dk
> <mailto:ase-users at listserv.fysik.dtu.dk>>:
>
> Hi!
>
> I've just uploaded ase-3.13.0rc1 to PyPI. I would love as
> many of you to
> install it and try it out on some of the things you use
> ASE for:
>
> $ pip install ase --pre --user
>
> or
>
> $ pip3 install ase --pre --user
>
> See (incomplete) list of changes since 3.12 here:
>
> https://wiki.fysik.dtu.dk/ase/releasenotes.html#git-master-branch
> <https://wiki.fysik.dtu.dk/ase/releasenotes.html#git-master-branch>
>
> Jens Jørgen
>
>
> _______________________________________________
> ase-users mailing list
> ase-users at listserv.fysik.dtu.dk
> <mailto:ase-users at listserv.fysik.dtu.dk>
> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
> <https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users>
>
>
>
More information about the ase-users
mailing list