# Documentation of test_dir

Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)

## Function Synopsis

    test_dir(path_to_dir)

## Help text

     Purpose: test the existence of a directory and generate an error if it
     doesn't exist or is not a directory

     Variables:
    	- path_to_dir: string of the full path of the directory to test
    	(needed)

     Global variables: none

Pierre-Michel THEVENY <theveny@dt.insu.cnrs.fr>