Skip to content

Commit

Permalink
updating docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
alix-tz committed Mar 22, 2021
1 parent e384b2e commit cb032bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions aspyre/aspyrelib/aspyre.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def __init__(self, scenario=None, source=None, destination=None, talkative=False
:type talkative: bool
:param test_type: simple initiation for test purpose
:type test_type: bool
:param vpadding: value to add to VPOS attributes in String nodes (PDFALTO scenario)
:type vpadding: int
"""
if test_type == True:
self.execution_status = "Debug"
Expand Down
8 changes: 7 additions & 1 deletion aspyre/aspyrelib/manage/manage_pdfaltotoes.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,13 @@ def apply_ratio_to_coordinates(xml_tree):


def apply_padding(xml_tree, vpadding):
"""Change values of VPOS attributes in String and TextLine nodes"""
"""Change values of VPOS attributes in String and TextLine nodes
:param xml_tree: parsed XML file
:type xml_tree: BeautifulSoup
:param vpadding: value to add to VPOS attributes
:type vpadding: int
"""
# un-necessary:
#for tl in xml_tree.find_all('TextLine'):
# if "VPOS" in tl.attrs:
Expand Down

0 comments on commit cb032bc

Please sign in to comment.