Commit a6f4f171 authored by Patrick Shriwise's avatar Patrick Shriwise
Browse files

Adding docstring to reader

parent 99956f1a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2,7 +2,11 @@ import sys

from xml.etree import ElementTree as ET


def parse_isoxml(isoxml_file):
    """
    Extracts names of all isotopes from the XML file
    """
    tree = ET.parse(isoxml_file)
    root = tree.getroot()