The ResPrint tool will convert result files from the Guinea Pig system's internal format to a tabulated text file. It will read the session results files given as arguments, scans their contents and prints out a text file to standard output. For each entry (test item), it will print (by default):
ResPrint results_*if your result file names begin with 'results_'. The converter then scans in the files given as arguments and prints out the results in a tabulated table.
For more details about ResPrint tool, see ResPrint manual page.
#item subject session time switch A B Ref qB qA item4 ville zappa 8.7 7 pirr11 pirr16 pirr16 7.0 2.0 item3 ville zappa 14.2 12 pirr8 pirr11 pirr8 2.0 8.0 item2 ville zappa 8.5 9 pirr22 pirr32 pirr32 2.6 7.6 item1 ville zappa 10.0 7 pirr44 pirr32 pirr44 7.8 9.4Here is another example of a A/B scale test and session information. Also shows an example of automatically generated session and subject IDs if IDs were not set.
#session id: S14837061 #session start time: Wed Mar 18 14:21:55 GMT+02:00 1998 #session end time: Wed Mar 18 14:25:12 GMT+02:00 1998 #session MCLL: -3.999999999999999dB #item subject session time switch A B q2 q1 item4 S14837061a S14837061 130.2 25 pirr11 pirr16 5.3 5.2 item3 S14837061a S14837061 27.6 13 pirr8 pirr11 6.0 3.0 item2 S14837061a S14837061 4.9 3 pirr22 pirr32 7.0 3.0 item1 S14837061a S14837061 24.8 11 pirr44 pirr32 6.0 4.0Output can be directed to a file or piped to another program with normal unix syntax.
Comment lines start with the '#' character. Each field will be separated with a single ASCII TAB-character. White space other than TAB-characters are not considered field separators.
The output of the tool can be customized with result options file(s) and tools options.
resPrint session1.ser >res resPrint session2.ser >>resThe order of answers may be different in session1's result from session2's results. This is due to internals of the system where results are stored in an item as a hash table which is not ordered.
The problem occurs only when you haven't defined manually the order of fields to be printed by the tool (either with command line option or result options file). To avoid this problem, define the fields to be printed and their order in the results config file with the fields property or with the -fields option in ResPrint.