diff options
Diffstat (limited to 'fg21sim/utils')
-rw-r--r-- | fg21sim/utils/io.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fg21sim/utils/io.py b/fg21sim/utils/io.py index 1d30b23..4f05e96 100644 --- a/fg21sim/utils/io.py +++ b/fg21sim/utils/io.py @@ -20,6 +20,10 @@ def _create_dir(filepath): """ Check the existence of the target directory, and create it if necessary. + NOTE + ---- + If the given ``filepath`` is simply the filename without any directory + path, then just returns. """ dirname = os.path.dirname(filepath) # ``dirname == ""`` if ``filepath`` does not contain directory path |