Skip to content

Commit

Permalink
Issue NifTK#182: added section to config/README.md for custom global …
Browse files Browse the repository at this point in the history
…configuration options
  • Loading branch information
Dzhoshkun Ismail Shakir committed Oct 16, 2017
1 parent fb87e8a commit 3dd797a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Global NiftyNet settings

The global NiftyNet configuration is read from `~/.niftynet/config.ini`.
When NiftyNet is run, it will attempt to load this file for the global configuration.
* If it does not exist, NiftyNet will create a default one.
* If it exists but cannot be read for some reason (for instance incorrect formatting or wrong entries):
- NiftyNet will back it up with a timestamp (for instance `~/.niftynet/config-backup-2017-10-16-10-50-58-abc.ini` - `abc` being a random string) and,
- Create a default one.
* Otherwise NiftyNet will read the global configuration from this file.

# Configuration file

To run a NiftyNet [application](../niftynet/application) or a customised
Expand Down

0 comments on commit 3dd797a

Please sign in to comment.