MCPcopy Create free account
hub / github.com/numpy/numpy / crackfortran

Function crackfortran

numpy/f2py/crackfortran.py:3487–3501  ·  view source on GitHub ↗
(files)

Source from the content-addressed store, hash-verified

3485
3486
3487def crackfortran(files):
3488 global usermodules, post_processing_hooks
3489
3490 outmess('Reading fortran codes...\n', 0)
3491 readfortrancode(files, crackline)
3492 outmess('Post-processing...\n', 0)
3493 usermodules = []
3494 postlist = postcrack(grouplist[0])
3495 outmess('Applying post-processing hooks...\n', 0)
3496 for hook in post_processing_hooks:
3497 outmess(f' {hook.__name__}\n', 0)
3498 postlist = traverse(postlist, hook)
3499 outmess('Post-processing (stage 2)...\n', 0)
3500 postlist = postcrack2(postlist)
3501 return usermodules + postlist
3502
3503
3504def crack2fortran(block):

Callers 3

test_crackedlinesMethod · 0.90
test_crackedlinesMethod · 0.90
crackfortran.pyFile · 0.85

Calls 5

readfortrancodeFunction · 0.85
postcrackFunction · 0.85
traverseFunction · 0.85
postcrack2Function · 0.85
outmessFunction · 0.70

Tested by 2

test_crackedlinesMethod · 0.72
test_crackedlinesMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…