optimus-ep 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -2
- data/README +42 -13
- data/bin/eprime2tabfile +1 -1
- data/lib/version.rb +1 -1
- data/optimus-ep.gemspec +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
-
|
1
|
+
v0.8.1. Remove --filter-columns option from eprime2tabfile
|
2
2
|
|
3
|
-
v0.
|
3
|
+
v0.8.0. Compatibility Warning: Lots of stuff has changed with the way column definition strings are computed. Test your existing scripts after updating! Architecture changes: Completely rewrote parser. String-based expressions now deprecate lambdas, though they'll continue to work in the future. This change fixes lots of odd bugs in defining computed columns and filters. Bug fixes: The --columns and --filter-columns options for eprime2tabfile now work.
|
4
|
+
|
5
|
+
v0.6.9.1. Bug fix: Fix for parsing eprime log files in which leaf frames don't occur at the highest log level
|
4
6
|
|
5
7
|
v0.6.9. New features: Supports parsing raw tab-delmimted files; Allows Procs as starting values for ComputedColumns. Bug fixes: No longer jumbles the order of Eprime log files
|
6
8
|
|
data/README
CHANGED
@@ -1,28 +1,57 @@
|
|
1
|
-
|
1
|
+
h1. Optimus
|
2
2
|
|
3
|
-
|
3
|
+
h5. Turning data into results
|
4
4
|
|
5
|
-
|
5
|
+
Optimus is a set of libraries designed to process behavioral data for use in statistical analysis packages. Think of it as the ultimate scriptable spreadsheet.
|
6
6
|
|
7
|
-
|
7
|
+
Currently, it's geared towards processing files generated by "E-Prime":http://www.pstnet.com/eprime.cfm, but really works with anything that produces spreadsheet-like data.
|
8
8
|
|
9
|
-
|
9
|
+
h2. Installing
|
10
10
|
|
11
|
-
|
11
|
+
We're all set in "RubyGems":http://rubygems.org, so:
|
12
12
|
|
13
|
-
|
13
|
+
<pre>
|
14
|
+
sudo gem install optimus-ep
|
15
|
+
</pre>
|
14
16
|
|
15
|
-
|
17
|
+
should get you set up with Optimus and the required "RParsec":http://docs.codehaus.org/display/JPARSEC/rparsec+overview. I've developed and tested with Ruby 1.8.7, but suspect 1.9.x will work, too.
|
16
18
|
|
17
|
-
|
19
|
+
h2. Command-line tools:
|
18
20
|
|
19
|
-
|
21
|
+
Right now, there's one program recommended for general use:
|
20
22
|
|
21
|
-
|
23
|
+
h3. eprime2tabfile
|
22
24
|
|
23
|
-
|
25
|
+
Turns the text file written by E-Prime (or, really, any file we can read) into a tab-delimited file. It prints to stdout, and should be redirected if you want to save the output.
|
24
26
|
|
25
|
-
|
27
|
+
Usage:
|
28
|
+
|
29
|
+
<pre>
|
30
|
+
Usage: eprime2tabfile [options] INPUT_FILES
|
31
|
+
|
32
|
+
-o, --outfile=OUTFILE The name of the file to create. If this
|
33
|
+
isn't specified, print to the standard
|
34
|
+
output.
|
35
|
+
|
36
|
+
-c, --columns=COLUMN_FILE A tab-separated file containing the columns
|
37
|
+
in the order you want your output.
|
38
|
+
|
39
|
+
--filter-columns Write out only the columns in COLUMN_FILE.
|
40
|
+
Requires the use of --columns
|
41
|
+
|
42
|
+
-a, --add-filename-line Print the filename as the first line of
|
43
|
+
your output, just like E-DataAid.
|
44
|
+
|
45
|
+
-f, --force Continue processing even there are errors.
|
46
|
+
|
47
|
+
-h, --help Print this message.
|
48
|
+
</pre>
|
49
|
+
|
50
|
+
h2. API Usage
|
51
|
+
|
52
|
+
Coming very soon.
|
53
|
+
|
54
|
+
h2. License
|
26
55
|
|
27
56
|
(The GNU Public License, Version 2)
|
28
57
|
|
data/bin/eprime2tabfile
CHANGED
@@ -78,7 +78,7 @@ module Optimus
|
|
78
78
|
def option_parser(option_hash, args)
|
79
79
|
opts = OptionParser.new
|
80
80
|
|
81
|
-
opts.banner = "Usage:
|
81
|
+
opts.banner = "Usage: eprime2tabfile [options] INPUT_FILES"
|
82
82
|
opts.separator ""
|
83
83
|
|
84
84
|
opts.on('-o', '--outfile=OUTFILE', String,
|
data/lib/version.rb
CHANGED
data/optimus-ep.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: optimus-ep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 61
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 8
|
9
|
-
-
|
10
|
-
version: 0.8.
|
9
|
+
- 1
|
10
|
+
version: 0.8.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Nate Vack
|