Skip to content

Commit

Permalink
Less debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
imirzov committed Jul 25, 2020
1 parent 44856f9 commit 8ee5ba4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/FRDParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(self, in_file):
float(match.group(3)),
float(match.group(4)), ]
self.nodes[node_number] = Node(node_number, node_coords)
logging.debug('Node {}: {}'.format(node_number, node_coords))
# logging.debug('Node {}: {}'.format(node_number, node_coords))

self.numnod = len(self.nodes) # number of nodes in this block
logging.info('{} nodes'.format(self.numnod)) # total number of nodes
Expand Down Expand Up @@ -106,7 +106,7 @@ def parseElement(self, line):

elem = Element(element_num, element_type, element_nodes)
self.elements.append(elem)
logging.debug('Element {}: {}'.format(element_num, element_nodes))
# logging.debug('Element {}: {}'.format(element_num, element_nodes))


# Amount of nodes in frd element
Expand Down Expand Up @@ -293,7 +293,7 @@ def readNodalResults(self):
data = [float(match.group(c+1)) for c in range(row_comps)]
self.results[node].extend(data)

logging.debug('Node {}: {}'.format(node, self.results[node]))
# logging.debug('Node {}: {}'.format(node, self.results[node]))

if emitted_warning_types['NaNInf']:
logging.warning('NaN and Inf are not supported in Paraview ({} warnings).'\
Expand Down

0 comments on commit 8ee5ba4

Please sign in to comment.