()
| 5 | |
| 6 | |
| 7 | def get_processor(): |
| 8 | # Convoluted because we can't import from numpy |
| 9 | # (numpy is not yet built) |
| 10 | conv_template_path = os.path.join( |
| 11 | os.path.dirname(__file__), |
| 12 | 'conv_template.py' |
| 13 | ) |
| 14 | spec = importlib.util.spec_from_file_location( |
| 15 | 'conv_template', conv_template_path |
| 16 | ) |
| 17 | mod = importlib.util.module_from_spec(spec) |
| 18 | spec.loader.exec_module(mod) |
| 19 | return mod.process_file |
| 20 | |
| 21 | |
| 22 | def process_and_write_file(fromfile, outfile): |
no test coverage detected
searching dependent graphs…