Commit 79516e94 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Debug for clause 0

parent 094b1614
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -90,7 +90,15 @@ def find_all_clauses(progress:Progress, mdLines:list[str]):

    index = 1
    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:
        if line.startswith('#'):
@@ -310,6 +318,7 @@ def main(args=None):
    parser.add_argument('mergeID',      help="Merge IID")

    pargs = parser.parse_args()
    logging.basicConfig(level=logging.DEBUG)

    # Process documents and print output