From 8838474f258d1c879b73da96a0a17f0f5f0c05d3 Mon Sep 17 00:00:00 2001 From: Anthony Onwuli Date: Fri, 14 Jul 2023 09:12:08 +0100 Subject: [PATCH] Fixed docstrings in screening.py --- smact/screening.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/smact/screening.py b/smact/screening.py index 9f9ff882..51fb9ff9 100644 --- a/smact/screening.py +++ b/smact/screening.py @@ -339,13 +339,11 @@ def smact_filter( >>> for comp in comps: >>> print(comp) [('Cs', 'Pb', 'I'), (1, -4, -1), (5, 1, 1)] - - [('Cs', 'Pb', 'I'), (1, 2, -1),(1, 1, 3)) - - Composition(element_symbols=('Cs', 'Pb', 'I'), oxidation_states=(1, 2, -1), stoichiometries=(1, 2, 5)) - Composition(element_symbols=('Cs', 'Pb', 'I'), oxidation_states=(1, 2, -1), stoichiometries=(2, 1, 4)) - Composition(element_symbols=('Cs', 'Pb', 'I'), oxidation_states=(1, 2, -1), stoichiometries=(3, 1, 5)) - Composition(element_symbols=('Cs', 'Pb', 'I'), oxidation_states=(1, 4, -1), stoichiometries=(1, 1, 5)) + [('Cs', 'Pb', 'I'), (1, 2, -1), (1, 1, 3)] + [('Cs', 'Pb', 'I'), (1, 2, -1), (1, 2, 5)] + [('Cs', 'Pb', 'I'), (1, 2, -1), (2, 1, 4)] + [('Cs', 'Pb', 'I'), (1, 2, -1), (3, 1, 5)] + [('Cs', 'Pb', 'I'), (1, 4, -1), (1, 1, 5)] Example (using stoichs): >>> from smact.screening import smact_filter