SliceOmatic directory problems

Problems with the users directory
The "User directory" is a directory where sliceOmatic store configuration options for the program. The program need that directory to be accessible. If it can not reach it, it will probably have problems down the line...

The location of the user's data directory changed between sliceO 5.0 and sliceO 6.

In sliceO 6.0, it is associated with a system variable called "CSIDL_MYDOCUMENTS". Since Windows 7, the location of this directory is defined by Windows as:
"C:\Users\user_name\Documents"*

In sliceO 5.0, it is associated with a system variable called "CSIDL_APPDATA". Since Windows 7, the location of this directory is defined by Windows as:
"C:\Users\user_name\AppData\Roaming"*

SliceOmatic create its own sub-directory "TomoVision" at that location and store your configuration there.
I can see no valid reason for that directory to be inaccessible! If sliceOmatic can not reach it, your sys-admin may has succumbed to an excess of paranoia. Please contact him/her/it and ask for a little restraint.

If it is impossible to fix, starting with sliceO 6 rev-9, you can always force sliceOmatic to use a different path with the "-d path" (where path is the location you want to use) command line argument. This will cause sliceOmatic to place both its User and Scratch directory at the specified location. You can place the argument in the sliceOmatic shortcut.

Cmd line arguments

Problems with the DICOM Tables directory
The "DICOM Tables" is a directory where sliceOmatic store the definition for the DICOM tags present in the DICOM images. The program need that directory if it read a DICOM file. Since most medical images these days are DICOM, chances are you need it!

Actually, the directory already exist. It is in the installation directory for the program. It was created when you installed sliceOmatic.

The first time a new user start sliceOmatic, the program create a new copy of the "DICOM Tables" directory in the user's directory location by copying it from the installation directory.

If you are reading this web page, then something went wrong and the program was unable to create the copy of the directory.

That's O.K. we can do it by hand.

Just use the windows browser to copy the entire sub-directory "DICOM Tables" from the installation directory:
- by default: "c:\Program Files\TomoVision"
to the user's directory:
- for sliceO 6.0: "c\Users\user_name\Documents\TomoVision"*.
- for sliceO 5.0: "c\Users\user name\AppData\Roaming\TomoVision"*

That should solve the problem!

Problems with the scratch directory: sliceO 5.0
The "Scratch directory" is a directory where sliceOmatic store temporary files. The program need that directory to be accessible. If it can not reach it, it will probably have problems down the line...

By default, in sliceO 5.0, that directory is "c:\Temp".
Some revisions of sliceO have problems creating that directory. The fisrt thing to try, if this is your case, is to create the directory outside sliceOmatic and see if that solved your problem...

On some systems however, that location is protected. If this is the case, you have 2 choices:
- You can change the security parameters and remove the protection from the directory.
- You can change the default location for the scratch directory through the "sliceO_ini.scp" file.

You can change the default location for the scratch directory for a location of your choices by editing the "SliceO_ini.scp" file. The file can be edited directly with notepad.

One the parameter in that file is used to define the scratch directory. Look for the lines:

; Define the directory used for temporary files.
; The default is: c:\Temp
;read: scratch "C:\Temp\"

The ";" is the comment character. You need to remove the comment (the ";") and replace "C:\Temp" by the location where you want the scratch file to reside.

Please note that there are pottentially 2 copies of the "sliceO_ini.scp" file:
- One copy, the first that the program will read, is located in the installation directory for sliceOmatic. (By default that is "c:\Program Files\TomoVision".) That copy of the file will always exist. It was created when you installed the sliceOmatic on your computer.
- The second copy is located in the user's directory (c:\Users\user name\AppData\Roaming\TomoVision). That copy only exist if the user has used the "config" menu in sliceOmatic to change and save the default configuration.

Since you probably want to change the scratch file location for all users, the changes should be in the sliceO_ini.scp file loacted in the installation directory. But you should also make sure that the user's copy of the file does not also changed the scratch file location! Since the user's copy is read after the installation copy, changes made there will overwrite any changes made in the installation copy.

Problems with the scratch directory: sliceO 6
Starting with rev-9, the fastest way to solve a Scratch dir problem is to change its location using the "-d path" command line argument (see the preceding "Problems with the users directory" section on this page).


* "user_name" is the login name of the user

Scroll
to Top