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

Function crackfortran

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

Source from the content-addressed store, hash-verified

3525
3526
3527def crackfortran(files):
3528 global usermodules, post_processing_hooks
3529
3530 outmess('Reading fortran codes...\n', 0)
3531 readfortrancode(files, crackline)
3532 outmess('Post-processing...\n', 0)
3533 usermodules = []
3534 postlist = postcrack(grouplist[0])
3535 outmess('Applying post-processing hooks...\n', 0)
3536 for hook in post_processing_hooks:
3537 outmess(f' {hook.__name__}\n', 0)
3538 postlist = traverse(postlist, hook)
3539 outmess('Post-processing (stage 2)...\n', 0)
3540 postlist = postcrack2(postlist)
3541 return usermodules + postlist
3542
3543
3544def 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