RE: [Neuroimaging] what's the problem??????

2022-07-15 Thread avi.e.gross
Dennis, I am replying to the group but mainly you as I doubt Nati really reads much of what we write. The use of list() is needed as what comes out of the function may be an object of type dict_keys which is iterable but if you want it in a list form all at once, the idiom he uses is common. In th

Re: [Neuroimaging] what's the problem??????

2022-07-15 Thread Roel Schroeven
Dennis Lee Bieber schreef op 15/07/2022 om 19:11: ... is, itself, returning a dictionary on which .values() can be applied. In that case, the list() call is likely redundant as .values() already returned a list (hmmm, is list(some_list) a no-op, or does it wrap some_list into another list -- in t

Re: Extract the space group generators from Bilbao Crystallographic Server.

2022-07-15 Thread hongy...@gmail.com
On Friday, July 15, 2022 at 11:08:55 AM UTC+8, avi.e...@gmail.com wrote: > I guess Dan, that he may not be seeing what he is working on as a list of > lists of lists with each terminal sublist being of cardinality 4. Maybe > Zhao could look up what methods a list object has that allow you to plac

Re: [Neuroimaging] what's the problem??????

2022-07-15 Thread Dennis Lee Bieber
On Thu, 14 Jul 2022 17:20:55 -0400, declaimed the following: >Dennis, > >I see Nati sent some more code without explaining again what he wants. Yes, >somewhere in this stack of messages he may have said things (that we generally >failed to understand) but it would be helpful to summarize WHY he