<commit_before>from odbAccess import *

odb = openOdb(path='C:\\Users\\bioengsu\\Desktop\\dssr2017ABI-tjac799\\data\\HE2St.odb')

step = odb.steps['STEP-2']

frame = step.frames[-1]

U = frame.fieldOutputs['U']

all_nodes = odb.rootAssembly.nodeSets[' ALL NODES'].nodes[0]
n_coord = {}
n_disp={}
for node in all_nodes:
    n_coord[node.label] = node.coordinates
    n_disp[U.values[int(node.label)-1].nodeLabel] = U.values[int(node.label)-1].data[0]
# n_coord

# print n_coord.keys()


print n_disp<commit_msg>Update rODBd.py<commit_after>from odbAccess import *

odb = openOdb('HE2St.odb')

step = odb.steps['STEP-2']

frame = step.frames[-1]

U = frame.fieldOutputs['U']

all_nodes = odb.rootAssembly.nodeSets[' ALL NODES'].nodes[0]
n_coord = {}
n_disp={}
for node in all_nodes:
    n_coord[node.label] = list(node.coordinates)
    n_disp[U.values[int(node.label)-1].nodeLabel] = list(U.values[int(node.label)-1].data[:])
# n_coord

# print n_coord.keys()


print n_disp.keys()
{'fraction_non_alphanumeric': 0.1797752808988764, 'fraction_numerical': 0.020429009193054137, 'mean_word_length': 4.730994152046784, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1620285', 'n_tokens_mistral': 417, 'n_tokens_neox': 402, 'n_words': 60}