getPythonFile: Find python scripts location

View source: R/SOptim_AuxFunctions.R

getPythonFileR Documentation

Find python scripts location

Description

Finds the path to python scripts used to perform image segmentation in ArcGIS or RSGISLib based on the package location or other user-defined places.

Usage

getPythonFile(pyScriptName, pkgName, altLocs)

Arguments

pyScriptName

The name of the python script.

pkgName

The name of the package to look in.

altLocs

Alternative locations to look for the script.

Value

If the py script is found in any location it returns the complete path.

Note

The altLocs parameter is used to input development paths.


joaofgoncalves/SegOptim documentation built on Feb. 5, 2024, 11:10 p.m.