Skip to content
Snippets Groups Projects
Commit 79516e94 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Debug for clause 0

parent 094b1614
No related branches found
No related tags found
No related merge requests found
Pipeline #406 passed
...@@ -90,7 +90,15 @@ def find_all_clauses(progress:Progress, mdLines:list[str]): ...@@ -90,7 +90,15 @@ def find_all_clauses(progress:Progress, mdLines:list[str]):
index = 1 index = 1
empty = "" empty = ""
clause = Clause(empty,0,0,empty) clause = Clause(empty,0,0,"0")
for line in mdLines:
if line.startswith('#'):
# Clause 0 (from start to first clause) found
clause.to_id = index - 1
clauses.append(clause)
break
index = index + 1
for line in mdLines: for line in mdLines:
if line.startswith('#'): if line.startswith('#'):
...@@ -310,6 +318,7 @@ def main(args=None): ...@@ -310,6 +318,7 @@ def main(args=None):
parser.add_argument('mergeID', help="Merge IID") parser.add_argument('mergeID', help="Merge IID")
pargs = parser.parse_args() pargs = parser.parse_args()
logging.basicConfig(level=logging.DEBUG)
# Process documents and print output # Process documents and print output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment