bio-publisci 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Rakefile +1 -1
- data/examples/prov_dsl.prov +2 -1
- data/examples/safe_gen.rb +7 -0
- data/examples/visualization/primer.prov +66 -0
- data/examples/visualization/prov_viz.rb +140 -0
- data/examples/visualization/viz.rb +35 -0
- data/features/metadata_steps.rb +2 -4
- data/features/orm_steps.rb +4 -4
- data/features/reader_steps.rb +1 -1
- data/features/store_steps.rb +1 -1
- data/features/writer.feature +1 -1
- data/features/writer_steps.rb +1 -1
- data/lib/bio-publisci.rb +10 -2
- data/lib/bio-publisci/analyzer.rb +4 -4
- data/lib/bio-publisci/{spira.rb → datacube_model.rb} +4 -5
- data/lib/bio-publisci/dataset/ORM/data_cube_orm.rb +12 -12
- data/lib/bio-publisci/dataset/ORM/observation.rb +1 -1
- data/lib/bio-publisci/dataset/configuration.rb +31 -0
- data/lib/bio-publisci/dataset/data_cube.rb +28 -17
- data/lib/bio-publisci/dataset/dataset.rb +11 -0
- data/lib/bio-publisci/dataset/dataset_for.rb +19 -9
- data/lib/bio-publisci/dataset/interactive.rb +1 -1
- data/lib/bio-publisci/dsl/config.rb +34 -0
- data/lib/bio-publisci/dsl/dataset_dsl.rb +91 -0
- data/lib/bio-publisci/dsl/dsl.rb +69 -0
- data/lib/bio-publisci/dsl/metadata_dsl.rb +85 -0
- data/lib/bio-publisci/{metadata/prov/dsl.rb → dsl/prov_dsl.rb} +30 -6
- data/lib/bio-publisci/metadata/generator.rb +323 -0
- data/lib/bio-publisci/metadata/metadata.rb +3 -314
- data/lib/bio-publisci/metadata/prov/activity.rb +3 -1
- data/lib/bio-publisci/metadata/prov/agent.rb +1 -1
- data/lib/bio-publisci/metadata/prov/association.rb +2 -2
- data/lib/bio-publisci/metadata/prov/config.rb +34 -0
- data/lib/bio-publisci/metadata/prov/derivation.rb +7 -2
- data/lib/bio-publisci/metadata/prov/element.rb +2 -2
- data/lib/bio-publisci/metadata/prov/entity.rb +1 -22
- data/lib/bio-publisci/metadata/prov/model/prov_models.rb +8 -9
- data/lib/bio-publisci/metadata/prov/plan.rb +1 -1
- data/lib/bio-publisci/metadata/prov/prov.rb +23 -21
- data/lib/bio-publisci/metadata/prov/role.rb +1 -1
- data/lib/bio-publisci/metadata/prov/usage.rb +1 -1
- data/lib/bio-publisci/metadata/publisher.rb +25 -0
- data/lib/bio-publisci/mixins/dereferencable.rb +1 -1
- data/lib/bio-publisci/mixins/registry.rb +27 -0
- data/lib/bio-publisci/output.rb +1 -1
- data/lib/bio-publisci/parser.rb +1 -1
- data/lib/bio-publisci/query/query_helper.rb +14 -14
- data/lib/bio-publisci/r_client.rb +5 -5
- data/lib/bio-publisci/readers/arff.rb +5 -5
- data/lib/bio-publisci/readers/csv.rb +3 -3
- data/lib/bio-publisci/readers/dataframe.rb +3 -3
- data/lib/bio-publisci/readers/r_cross.rb +4 -4
- data/lib/bio-publisci/readers/r_matrix.rb +3 -3
- data/lib/bio-publisci/store.rb +3 -3
- data/lib/bio-publisci/writers/arff.rb +6 -6
- data/lib/bio-publisci/writers/dataframe.rb +5 -5
- data/scripts/islet_mlratio.rb +1 -1
- data/scripts/scan_islet.rb +1 -1
- data/scripts/update_reference.rb +2 -2
- data/spec/ORM/data_cube_orm_spec.rb +2 -2
- data/spec/ORM/prov_model_spec.rb +19 -0
- data/spec/analyzer_spec.rb +7 -7
- data/spec/data_cube_spec.rb +13 -13
- data/spec/dataset_for_spec.rb +11 -4
- data/spec/dsl_spec.rb +90 -0
- data/spec/generators/csv_spec.rb +4 -4
- data/spec/generators/dataframe_spec.rb +6 -6
- data/spec/generators/r_cross_spec.rb +2 -2
- data/spec/generators/r_matrix_spec.rb +2 -2
- data/spec/metadata/metadata_dsl_spec.rb +68 -0
- data/spec/prov/activity_spec.rb +4 -4
- data/spec/prov/agent_spec.rb +3 -4
- data/spec/prov/association_spec.rb +1 -2
- data/spec/prov/config_spec.rb +28 -0
- data/spec/prov/derivation_spec.rb +30 -0
- data/spec/prov/entity_spec.rb +3 -4
- data/spec/prov/role_spec.rb +1 -2
- data/spec/prov/usage_spec.rb +1 -2
- data/spec/r_builder_spec.rb +3 -3
- data/spec/turtle/bacon +20 -4
- data/spec/turtle/reference +20 -4
- metadata +37 -4
@@ -0,0 +1,68 @@
|
|
1
|
+
require_relative '../../lib/bio-publisci.rb'
|
2
|
+
|
3
|
+
describe PubliSci::Metadata::DSL do
|
4
|
+
include PubliSci::Metadata::DSL
|
5
|
+
|
6
|
+
before(:each) do
|
7
|
+
PubliSci::Prov.registry.clear
|
8
|
+
end
|
9
|
+
|
10
|
+
it "can generate basic metadata as n3" do
|
11
|
+
dataset 'bacon'
|
12
|
+
title 'Bacon Data'
|
13
|
+
description 'a dataset about bacon'
|
14
|
+
creator 'Will'
|
15
|
+
topic 'Delicious Bacon'
|
16
|
+
str = generate_n3
|
17
|
+
str[/rdfs:label "(.+)";/,1].should == "Bacon Data"
|
18
|
+
str[/dct:creator "(.+)";/,1].should == "Will"
|
19
|
+
str[/dct:subject "(.+)";/,1].should == "Delicious Bacon"
|
20
|
+
str[/dct:description "(.+)";/,1].should == "a dataset about bacon"
|
21
|
+
str[/dct:issued "(.+)"\^\^xsd:date;/,1].should == Time.now.strftime("%Y-%m-%d")
|
22
|
+
end
|
23
|
+
|
24
|
+
it "can add additional information about publisher" do
|
25
|
+
dataset 'bacon'
|
26
|
+
p = publisher do
|
27
|
+
label "pub"
|
28
|
+
uri "http://some-organization.com"
|
29
|
+
end
|
30
|
+
|
31
|
+
p.label.should == "pub"
|
32
|
+
generate_n3[%r{dct:publisher <(.+)> .},1].should == "http://some-organization.com"
|
33
|
+
end
|
34
|
+
|
35
|
+
# it "can be created with a block" do
|
36
|
+
# a = agent :ag do
|
37
|
+
# subject "http://things.com/stuff"
|
38
|
+
# name "Mr Person"
|
39
|
+
# end
|
40
|
+
# a.is_a?(Agent).should be true
|
41
|
+
# a.subject.should == "http://things.com/stuff"
|
42
|
+
# a.name.should == "Mr Person"
|
43
|
+
# end
|
44
|
+
|
45
|
+
# it "can be given a type corresponding to a subclass of prov:Agent" do
|
46
|
+
# a = agent :name, type: "software"
|
47
|
+
# a.type.should == :software
|
48
|
+
# a.to_n3["prov:SoftwareAgent"].should_not be nil
|
49
|
+
# end
|
50
|
+
|
51
|
+
# it "can be created using the organization helper" do
|
52
|
+
# a = organization :group
|
53
|
+
# a.type.should == :organization
|
54
|
+
# end
|
55
|
+
|
56
|
+
# it "raises an exception when on_behalf_of does not refer to an agent" do
|
57
|
+
# a = agent :name, on_behalf_of: :other
|
58
|
+
# expect {a.on_behalf_of[0]}.to raise_error
|
59
|
+
# end
|
60
|
+
|
61
|
+
# it "lazy loads other objects, so declaration order doesn't usually matter" do
|
62
|
+
# a = agent :name, on_behalf_of: :other
|
63
|
+
# b = agent :other
|
64
|
+
|
65
|
+
# a.on_behalf_of.should == b
|
66
|
+
# end
|
67
|
+
|
68
|
+
end
|
data/spec/prov/activity_spec.rb
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
require_relative '../../lib/bio-publisci.rb'
|
2
2
|
include PubliSci::Prov::DSL
|
3
|
-
include PubliSci
|
3
|
+
# include PubliSci
|
4
4
|
|
5
5
|
describe PubliSci::Prov::Activity do
|
6
6
|
|
7
7
|
before(:each) do
|
8
|
-
@evaluator = PubliSci::Prov::DSL::
|
8
|
+
@evaluator = PubliSci::Prov::DSL::Instance.new
|
9
9
|
end
|
10
10
|
|
11
11
|
it "can generate activity fields from symbol" do
|
12
12
|
a = activity :name
|
13
|
-
a.is_a?(Activity).should be true
|
13
|
+
a.is_a?(Prov::Activity).should be true
|
14
14
|
a.subject.should == "http://rqtl.org/ns/activity/name"
|
15
15
|
end
|
16
16
|
|
@@ -25,7 +25,7 @@ describe PubliSci::Prov::Activity do
|
|
25
25
|
subject "http://things.com/stuff"
|
26
26
|
generated :data
|
27
27
|
end
|
28
|
-
a.is_a?(Activity).should be true
|
28
|
+
a.is_a?(Prov::Activity).should be true
|
29
29
|
a.subject.should == "http://things.com/stuff"
|
30
30
|
end
|
31
31
|
|
data/spec/prov/agent_spec.rb
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
require_relative '../../lib/bio-publisci.rb'
|
2
2
|
include PubliSci::Prov::DSL
|
3
|
-
include PubliSci::Prov
|
4
3
|
|
5
4
|
describe PubliSci::Prov::Agent do
|
6
5
|
|
7
6
|
before(:each) do
|
8
|
-
@evaluator = PubliSci::Prov::DSL::
|
7
|
+
@evaluator = PubliSci::Prov::DSL::Instance.new
|
9
8
|
end
|
10
9
|
|
11
10
|
it "can generate agent fields from symbol" do
|
12
11
|
a = agent :name
|
13
|
-
a.is_a?(Agent).should be true
|
12
|
+
a.is_a?(Prov::Agent).should be true
|
14
13
|
a.subject.should == "http://rqtl.org/ns/agent/name"
|
15
14
|
end
|
16
15
|
|
@@ -24,7 +23,7 @@ describe PubliSci::Prov::Agent do
|
|
24
23
|
subject "http://things.com/stuff"
|
25
24
|
name "Mr Person"
|
26
25
|
end
|
27
|
-
a.is_a?(Agent).should be true
|
26
|
+
a.is_a?(Prov::Agent).should be true
|
28
27
|
a.subject.should == "http://things.com/stuff"
|
29
28
|
a.name.should == "Mr Person"
|
30
29
|
end
|
@@ -1,10 +1,9 @@
|
|
1
1
|
require_relative '../../lib/bio-publisci.rb'
|
2
|
-
include PubliSci::Prov
|
3
2
|
include PubliSci::Prov::DSL
|
4
3
|
|
5
4
|
describe PubliSci::Prov::Association do
|
6
5
|
before(:each) do
|
7
|
-
@ev = PubliSci::Prov::DSL::
|
6
|
+
@ev = PubliSci::Prov::DSL::Instance.new
|
8
7
|
end
|
9
8
|
|
10
9
|
it "can create simple associations" do
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require_relative '../../lib/bio-publisci.rb'
|
2
|
+
include PubliSci::Prov::DSL
|
3
|
+
include PubliSci
|
4
|
+
|
5
|
+
describe PubliSci::Prov::Configuration do
|
6
|
+
|
7
|
+
before(:each) do
|
8
|
+
@evaluator = PubliSci::Prov::DSL::Instance.new
|
9
|
+
end
|
10
|
+
|
11
|
+
it "can set basic config methods" do
|
12
|
+
configure do |cfg|
|
13
|
+
cfg.output :to_repository
|
14
|
+
end
|
15
|
+
settings.output.should == :to_repository
|
16
|
+
end
|
17
|
+
|
18
|
+
it "can configure different repository types", no_travis: true do
|
19
|
+
configure do |cfg|
|
20
|
+
cfg.repository :fourstore
|
21
|
+
end
|
22
|
+
a = activity :name
|
23
|
+
a.is_a?(Prov::Activity).should be true
|
24
|
+
r=to_repository
|
25
|
+
a.subject.should == "http://rqtl.org/ns/activity/name"
|
26
|
+
r.is_a?(RDF::FourStore::Repository).should be true
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require_relative '../../lib/bio-publisci.rb'
|
2
|
+
include PubliSci::Prov::DSL
|
3
|
+
|
4
|
+
describe PubliSci::Prov::Derivation do
|
5
|
+
before(:each) do
|
6
|
+
@ev = PubliSci::Prov::DSL::Instance.new
|
7
|
+
end
|
8
|
+
|
9
|
+
it "can create simple derivations" do
|
10
|
+
e = @ev.entity :name
|
11
|
+
f = @ev.entity :other, derived_from: :name
|
12
|
+
# g = @ev.activity :do_things, generated: :name, associated_with: :other
|
13
|
+
f.derived_from[0].should == e
|
14
|
+
@ev.generate_n3
|
15
|
+
@ev.generate_n3["prov:wasDerivedFrom"].size.should > 0
|
16
|
+
end
|
17
|
+
|
18
|
+
it "creates qualified derivations when a block is passed" do
|
19
|
+
e = @ev.entity :name
|
20
|
+
f = @ev.entity :other do
|
21
|
+
derived_from :name do
|
22
|
+
had_activity :do_things
|
23
|
+
end
|
24
|
+
end
|
25
|
+
g = @ev.activity :do_things do
|
26
|
+
generated :other
|
27
|
+
end
|
28
|
+
f.derived_from.first.had_activity.should == g
|
29
|
+
end
|
30
|
+
end
|
data/spec/prov/entity_spec.rb
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
require_relative '../../lib/bio-publisci.rb'
|
2
2
|
include PubliSci::Prov::DSL
|
3
|
-
include PubliSci::Prov
|
4
3
|
|
5
4
|
describe PubliSci::Prov::Entity do
|
6
5
|
before(:each) do
|
7
|
-
@evaluator = PubliSci::Prov::DSL::
|
6
|
+
@evaluator = PubliSci::Prov::DSL::Instance.new
|
8
7
|
end
|
9
8
|
|
10
9
|
it "can generate entity fields from symbol" do
|
11
10
|
e = entity :name
|
12
|
-
e.is_a?(Entity).should be true
|
11
|
+
e.is_a?(Prov::Entity).should be true
|
13
12
|
e.subject.should == "http://rqtl.org/ns/entity/name"
|
14
13
|
end
|
15
14
|
|
@@ -23,7 +22,7 @@ describe PubliSci::Prov::Entity do
|
|
23
22
|
subject "http://things.com/stuff"
|
24
23
|
source "/somefile.txt"
|
25
24
|
end
|
26
|
-
e.is_a?(Entity).should be true
|
25
|
+
e.is_a?(Prov::Entity).should be true
|
27
26
|
e.subject.should == "http://things.com/stuff"
|
28
27
|
e.source[0].should == "/somefile.txt"
|
29
28
|
end
|
data/spec/prov/role_spec.rb
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
require_relative '../../lib/bio-publisci.rb'
|
2
2
|
include PubliSci::Prov::DSL
|
3
|
-
include PubliSci::Prov
|
4
3
|
|
5
4
|
describe PubliSci::Prov::Role do
|
6
5
|
|
7
6
|
before(:each) do
|
8
|
-
@evaluator = PubliSci::Prov::DSL::
|
7
|
+
@evaluator = PubliSci::Prov::DSL::Instance.new
|
9
8
|
end
|
10
9
|
|
11
10
|
it "creates a role in a used block" do
|
data/spec/prov/usage_spec.rb
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
require_relative '../../lib/bio-publisci.rb'
|
2
2
|
include PubliSci::Prov::DSL
|
3
|
-
include PubliSci::Prov
|
4
3
|
|
5
4
|
describe PubliSci::Prov::Usage do
|
6
5
|
|
7
6
|
before(:each) do
|
8
|
-
@evaluator = PubliSci::Prov::DSL::
|
7
|
+
@evaluator = PubliSci::Prov::DSL::Instance.new
|
9
8
|
end
|
10
9
|
|
11
10
|
it "can create simple associations" do
|
data/spec/r_builder_spec.rb
CHANGED
@@ -7,18 +7,18 @@
|
|
7
7
|
require_relative '../lib/bio-publisci.rb'
|
8
8
|
|
9
9
|
|
10
|
-
describe
|
10
|
+
describe PubliSci::Writer::Dataframe do
|
11
11
|
|
12
12
|
context "when using r/qtl dataframe", no_travis: true do
|
13
13
|
|
14
|
-
before(:all) do
|
14
|
+
before(:all) do
|
15
15
|
@r = Rserve::Connection.new
|
16
16
|
@r.eval <<-EOF
|
17
17
|
library(qtl)
|
18
18
|
data(listeria)
|
19
19
|
mr = scanone(listeria,method="mr")
|
20
20
|
EOF
|
21
|
-
@builder =
|
21
|
+
@builder = PubliSci::Writer::Builder.new
|
22
22
|
end
|
23
23
|
|
24
24
|
it "produces equivalent dataframe from rdf" #do
|
data/spec/turtle/bacon
CHANGED
@@ -15,15 +15,31 @@
|
|
15
15
|
@prefix prov: <http://www.w3.org/ns/prov#> .
|
16
16
|
|
17
17
|
ns:dsd-bacon a qb:DataStructureDefinition;
|
18
|
-
qb:component
|
19
|
-
qb:component
|
20
|
-
qb:component
|
21
|
-
qb:component
|
18
|
+
qb:component cs:producer ;
|
19
|
+
qb:component cs:pricerange ;
|
20
|
+
qb:component cs:chunkiness ;
|
21
|
+
qb:component cs:deliciousness .
|
22
22
|
|
23
23
|
ns:dataset-bacon a qb:DataSet ;
|
24
24
|
rdfs:label "bacon"@en ;
|
25
25
|
qb:structure ns:dsd-bacon .
|
26
26
|
|
27
|
+
cs:producer a qb:ComponentSpecification ;
|
28
|
+
rdfs:label "producer Component" ;
|
29
|
+
qb:dimension prop:producer .
|
30
|
+
|
31
|
+
cs:pricerange a qb:ComponentSpecification ;
|
32
|
+
rdfs:label "pricerange Component" ;
|
33
|
+
qb:dimension prop:pricerange .
|
34
|
+
|
35
|
+
cs:chunkiness a qb:ComponentSpecification ;
|
36
|
+
rdfs:label "chunkiness Component" ;
|
37
|
+
qb:measure prop:chunkiness .
|
38
|
+
|
39
|
+
cs:deliciousness a qb:ComponentSpecification ;
|
40
|
+
rdfs:label "deliciousness Component" ;
|
41
|
+
qb:measure prop:deliciousness .
|
42
|
+
|
27
43
|
prop:producer a rdf:Property, qb:DimensionProperty ;
|
28
44
|
rdfs:label "producer"@en ;
|
29
45
|
qb:codeList code:producer ;
|
data/spec/turtle/reference
CHANGED
@@ -15,15 +15,31 @@
|
|
15
15
|
@prefix prov: <http://www.w3.org/ns/prov#> .
|
16
16
|
|
17
17
|
ns:dsd-mr a qb:DataStructureDefinition;
|
18
|
-
qb:component
|
19
|
-
qb:component
|
20
|
-
qb:component
|
21
|
-
qb:component
|
18
|
+
qb:component cs:refRow ;
|
19
|
+
qb:component cs:chr ;
|
20
|
+
qb:component cs:pos ;
|
21
|
+
qb:component cs:lod .
|
22
22
|
|
23
23
|
ns:dataset-mr a qb:DataSet ;
|
24
24
|
rdfs:label "mr"@en ;
|
25
25
|
qb:structure ns:dsd-mr .
|
26
26
|
|
27
|
+
cs:refRow a qb:ComponentSpecification ;
|
28
|
+
rdfs:label "refRow Component" ;
|
29
|
+
qb:dimension prop:refRow .
|
30
|
+
|
31
|
+
cs:chr a qb:ComponentSpecification ;
|
32
|
+
rdfs:label "chr Component" ;
|
33
|
+
qb:measure prop:chr .
|
34
|
+
|
35
|
+
cs:pos a qb:ComponentSpecification ;
|
36
|
+
rdfs:label "pos Component" ;
|
37
|
+
qb:measure prop:pos .
|
38
|
+
|
39
|
+
cs:lod a qb:ComponentSpecification ;
|
40
|
+
rdfs:label "lod Component" ;
|
41
|
+
qb:measure prop:lod .
|
42
|
+
|
27
43
|
prop:refRow a rdf:Property, qb:DimensionProperty ;
|
28
44
|
rdfs:label "refRow"@en ;
|
29
45
|
qb:codeList code:refrow ;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bio-publisci
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Will Strinz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf
|
@@ -192,6 +192,20 @@ dependencies:
|
|
192
192
|
- - '>='
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: spira
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - '>='
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - '>='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
195
209
|
description: 'A toolkit for publishing scientific results and datasets using RDF,
|
196
210
|
OWL, and related technologies '
|
197
211
|
email: wstrinz@gmail.com
|
@@ -219,6 +233,10 @@ files:
|
|
219
233
|
- examples/primer-full.prov
|
220
234
|
- examples/primer.prov
|
221
235
|
- examples/prov_dsl.prov
|
236
|
+
- examples/safe_gen.rb
|
237
|
+
- examples/visualization/primer.prov
|
238
|
+
- examples/visualization/prov_viz.rb
|
239
|
+
- examples/visualization/viz.rb
|
222
240
|
- features/create_generator.feature
|
223
241
|
- features/integration.feature
|
224
242
|
- features/integration_steps.rb
|
@@ -238,17 +256,26 @@ files:
|
|
238
256
|
- features/writer_steps.rb
|
239
257
|
- lib/bio-publisci.rb
|
240
258
|
- lib/bio-publisci/analyzer.rb
|
259
|
+
- lib/bio-publisci/datacube_model.rb
|
241
260
|
- lib/bio-publisci/dataset/ORM/data_cube_orm.rb
|
242
261
|
- lib/bio-publisci/dataset/ORM/observation.rb
|
262
|
+
- lib/bio-publisci/dataset/configuration.rb
|
243
263
|
- lib/bio-publisci/dataset/data_cube.rb
|
264
|
+
- lib/bio-publisci/dataset/dataset.rb
|
244
265
|
- lib/bio-publisci/dataset/dataset_for.rb
|
245
266
|
- lib/bio-publisci/dataset/interactive.rb
|
267
|
+
- lib/bio-publisci/dsl/config.rb
|
268
|
+
- lib/bio-publisci/dsl/dataset_dsl.rb
|
269
|
+
- lib/bio-publisci/dsl/dsl.rb
|
270
|
+
- lib/bio-publisci/dsl/metadata_dsl.rb
|
271
|
+
- lib/bio-publisci/dsl/prov_dsl.rb
|
272
|
+
- lib/bio-publisci/metadata/generator.rb
|
246
273
|
- lib/bio-publisci/metadata/metadata.rb
|
247
274
|
- lib/bio-publisci/metadata/prov/activity.rb
|
248
275
|
- lib/bio-publisci/metadata/prov/agent.rb
|
249
276
|
- lib/bio-publisci/metadata/prov/association.rb
|
277
|
+
- lib/bio-publisci/metadata/prov/config.rb
|
250
278
|
- lib/bio-publisci/metadata/prov/derivation.rb
|
251
|
-
- lib/bio-publisci/metadata/prov/dsl.rb
|
252
279
|
- lib/bio-publisci/metadata/prov/element.rb
|
253
280
|
- lib/bio-publisci/metadata/prov/entity.rb
|
254
281
|
- lib/bio-publisci/metadata/prov/model/prov_models.rb
|
@@ -256,8 +283,10 @@ files:
|
|
256
283
|
- lib/bio-publisci/metadata/prov/prov.rb
|
257
284
|
- lib/bio-publisci/metadata/prov/role.rb
|
258
285
|
- lib/bio-publisci/metadata/prov/usage.rb
|
286
|
+
- lib/bio-publisci/metadata/publisher.rb
|
259
287
|
- lib/bio-publisci/mixins/custom_predicate.rb
|
260
288
|
- lib/bio-publisci/mixins/dereferencable.rb
|
289
|
+
- lib/bio-publisci/mixins/registry.rb
|
261
290
|
- lib/bio-publisci/mixins/vocabulary.rb
|
262
291
|
- lib/bio-publisci/output.rb
|
263
292
|
- lib/bio-publisci/parser.rb
|
@@ -268,7 +297,6 @@ files:
|
|
268
297
|
- lib/bio-publisci/readers/dataframe.rb
|
269
298
|
- lib/bio-publisci/readers/r_cross.rb
|
270
299
|
- lib/bio-publisci/readers/r_matrix.rb
|
271
|
-
- lib/bio-publisci/spira.rb
|
272
300
|
- lib/bio-publisci/store.rb
|
273
301
|
- lib/bio-publisci/writers/arff.rb
|
274
302
|
- lib/bio-publisci/writers/dataframe.rb
|
@@ -309,18 +337,23 @@ files:
|
|
309
337
|
- scripts/scan_islet.rb
|
310
338
|
- scripts/update_reference.rb
|
311
339
|
- spec/ORM/data_cube_orm_spec.rb
|
340
|
+
- spec/ORM/prov_model_spec.rb
|
312
341
|
- spec/analyzer_spec.rb
|
313
342
|
- spec/csv/bacon.csv
|
314
343
|
- spec/csv/moar_bacon.csv
|
315
344
|
- spec/data_cube_spec.rb
|
316
345
|
- spec/dataset_for_spec.rb
|
346
|
+
- spec/dsl_spec.rb
|
317
347
|
- spec/generators/csv_spec.rb
|
318
348
|
- spec/generators/dataframe_spec.rb
|
319
349
|
- spec/generators/r_cross_spec.rb
|
320
350
|
- spec/generators/r_matrix_spec.rb
|
351
|
+
- spec/metadata/metadata_dsl_spec.rb
|
321
352
|
- spec/prov/activity_spec.rb
|
322
353
|
- spec/prov/agent_spec.rb
|
323
354
|
- spec/prov/association_spec.rb
|
355
|
+
- spec/prov/config_spec.rb
|
356
|
+
- spec/prov/derivation_spec.rb
|
324
357
|
- spec/prov/entity_spec.rb
|
325
358
|
- spec/prov/role_spec.rb
|
326
359
|
- spec/prov/usage_spec.rb
|