Commit 5ba0da7c authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[lib] Fix typos

parent 8699bcd9
......@@ -244,7 +244,10 @@ class MCLAnalyser(object):
def __init__(self, report, debug=False):
"""The built analyser is void by default
@param report: a standard reporter
:param report: a standard reporter
:key debug: (optional) Used to activate debug mode in the Unfolder
:type report: <Reporter>
:type debug: False / <boolean>
"""
self.debug = debug
self.unfolder = None
......@@ -269,7 +272,8 @@ class MCLAnalyser(object):
Every parser uses this function at the end.
@param model: <ChartModel>
:param model: Chart Model
:type model: <ChartModel>
"""
# Reloading a MCLAnalyser is forbidden - create a new one is mandatory
if self.unfolder:
......@@ -298,7 +302,8 @@ class MCLAnalyser(object):
def build_from_chart_file(self, file_name):
"""Build an MCLAnalyser from a .bcx file
@param file_name: str - path of the .bcx file
:param file_name: path of the .bcx file
:type file_name: <str>
"""
parser = MakeModelFromXmlFile(file_name)
# chart model
......@@ -307,7 +312,8 @@ class MCLAnalyser(object):
def build_from_pid_file(self, file_name, has_clock=True, ai_interpretation=0):
"""Build an MCLAnalyser from a .xml file of PID database
@param file_name: str - path of .xml file
:param file_name: path of .xml file
:type file_name: <str>
"""
parser = MakeModelFromPidFile(
file_name, self.reporter, has_clock, ai_interpretation
......@@ -318,7 +324,8 @@ class MCLAnalyser(object):
def build_from_cadlang(self, file_name):
"""Build an MCLAnalyser from a .cal, Cadlang file
@param file_name: str - path of .cal file
:param file_name: path of .cal file
:type file_name: <str>
"""
creporter = self.reporter
fstream = FileStream(file_name)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment