Along the code there are multiple times comparing selection with 'all'. Lines such as:
if indices is None:
if selection != 'all':
indices = select(molecular_system, element=element, selection=selection,
syntaxis=syntaxis, check=False)
else:
indices = 'all'
But this code gives the following warning if selection is a numpy ndarray:
FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
Is this a potential source of errors in the future?
Along the code there are multiple times comparing
selection
with 'all'. Lines such as:But this code gives the following warning if selection is a numpy ndarray:
Is this a potential source of errors in the future?