MCPcopy Create free account
hub / github.com/cdcseacave/openMVS / find

Function find

scripts/python/MvgMvsPipeline.py:114–121  ·  view source on GitHub ↗

As whereis look only for executable on linux, this find look for all file type

(afile)

Source from the content-addressed store, hash-verified

112
113
114def find(afile):
115 """
116 As whereis look only for executable on linux, this find look for all file type
117 """
118 for d in os.environ['PATH'].split(PATH_DELIM):
119 if os.path.isfile(os.path.join(d, afile)):
120 return d
121 return None
122
123
124# Try to find openMVG, COLMAP, and openMVS binaries in PATH

Callers 1

MvgMvsPipeline.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected