[ase-users] ASE-3.13 release candidate

Ask Hjorth Larsen asklarsen at gmail.com
Mon Jan 23 10:57:14 CET 2017


El 23 ene. 2017 9:34 a. m., "Jens Jørgen Mortensen" <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
>
> 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.

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>:
>
>> 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
>>
>> Jens Jørgen
>>
>>
>> _______________________________________________
>> ase-users mailing list
>> ase-users at listserv.fysik.dtu.dk
>> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20170123/9842c1fa/attachment.html>


More information about the ase-users mailing list