-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hi, thank you for the tutorial. I just have a suggestion on the use of elif clause instead of just if clause in this block:
https://github.com/MolSSI-Education/python_scripting_cms/edit/gh-pages/_episodes/02-file_parsing.md#L256-L268
...
for line in saptlines:
if 'Electrostatics ' in line:
electro_line = line
important_lines.append(electro_line)
if 'Exchange ' in line:
exchange_line = line
important_lines.append(exchange_line)
if 'Induction ' in line:
induction_line = line
important_lines.append(induction_line)
if 'Dispersion ' in line:
dispersion_line = line
important_lines.append(dispersion_line)
...Metadata
Metadata
Assignees
Labels
No labels