Differences between revisions 3 and 4
Revision 3 as of 2006-09-21 12:50:11
Size: 4114
Editor: JenniPacheco
Comment:
Revision 4 as of 2006-09-21 12:52:31
Size: 4090
Editor: JenniPacheco
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
The QA Notepad program allows researchers to quickly take concise notes on subject or data derived from subjects in an organized, consistent manner.

===
Using QA Notepad ===
The QA Notepad program allows researchers to quickly take concise notes on subject or data derived from subjects in an organized, consistent manner. [[BR]]
Line 18: Line 15:
==== The options for QA Notepad are: ====  ==== The options for QA Notepad are: ====

FreeSurfer QA Tools

*QANotepad *Recon Checker

QA Notepad

The QA Notepad program allows researchers to quickly take concise notes on subject or data derived from subjects in an organized, consistent manner. BR #The program is located in the folder ~dkoh, and is named QAnotepad. The source files are located in ~dkoh/QAstream. BR QA Notepad outputs text files with the extension .qa (unless you use the --noappend option).

The options for QA Notepad are:

  -h, --help: displays a help message
  -f, --file <filename>: name of output file (default: QAnotes)
  -s, --subj <subject1> <subject2> ... : enters a list of subjects to choose
                                         from when recording data.
  --subjfile <subject file>: specifies a file with a list of subjects.
  -u, --user <username>: name of user.
  -c, --config <config file>: input config file to customize interface
                              It is required to enter a custom output filename
                              if you use this option.
  --noappend: ".qa" will not be appended to the filename.
  --dbupdate: if this flag is set, QAnotepad will automatically update the
              memage database via ~dkoh/scripts/perl/load_QA.pl.

If you already have a list of the subjects you'll be editing, you can enter that list into QA Notepad through the -s or --subj option. Alternatively, you can create a file with a list of subjects, and pass the filename in through the option --subjfile.

Using Config Files

  • You can customize the options in QA Notepad by using config files. The config file should be formatted with the option header in the first column, followed by the desired options. The option header will not appear unless it has at least one option. Here's an example config file. To pass in the config file, use the -c or --config option. If you use a config file, you must also specify an output file name with the -f or --file option.

example.cfg:

  Reoriented Yes No
  Realigned Yes No
  Manual_Edits None A_Few Lots
  Automatic_Segmentation Good Bad Corrected Good_For_Vol

This would create a panel with four buttons: Reoriented, Realigned, Manual_Edits, and Automatic_Segmentation. If you clicked on Automatic_Segmentation, you would get a new window with the options: Good, Bad, Corrected, Good_For_Vol. The underscores in place of spaces are mandatory, as the program separates options with spaces and won't be able to tell the difference.

If you want to have a free text field as an option for what to save, enter "$freetext" as an option after one of the option headers, like so:

  Region_Edited Hippocampus Amygdala $freetext

If you want to have a custom title for your window, just put the following text on it's own line: "$title My Title Here".

Automatic Database Updates

If you use the flag --dbupdate with the standard configuration of QA Notepad, it will automatically update the memage database to match your file. It will only update the subjects in your file that already exist in the database. It does so via the perl script load_QA.pl, located at ~dkoh/scripts/perl/load_QA.pl.

Updating Custom Configurations

If you want to have your custom configuration updated in the database, first, create a procedure with User Defined Select data that matches your custom configuration. Then, determine your procedure's id number. You can do this from one of two places. From the page where you edit the steps of your procedure, if you look at the url, there should be a part after the ? which says pprocedure=NUMBER. That number is your procedure's id. You can also find this from the page on which you edit the subject. Once you have your procedure id, put this on its own line in your config file:

  • $procedure_id ID

Where ID is the procedure id that you found earlier. If you don't do this step, you will get an error message.

QATools (last edited 2021-08-12 10:51:08 by AndrewHoopes)