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

Function runF2C

numpy/linalg/lapack_lite/make_lite.py:263–270  ·  view source on GitHub ↗
(fortran_filename, output_dir)

Source from the content-addressed store, hash-verified

261 pass
262
263def runF2C(fortran_filename, output_dir):
264 fortran_filename = fortran_filename.replace('\\', '/')
265 try:
266 subprocess.check_call(
267 ["f2c"] + F2C_ARGS + ['-d', output_dir, fortran_filename]
268 )
269 except subprocess.CalledProcessError:
270 raise F2CError
271
272def scrubF2CSource(c_file):
273 with open(c_file) as fo:

Callers 1

mainFunction · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected