summaryrefslogtreecommitdiff
path: root/qmrf_report.rb
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2018-03-20 16:57:19 +0100
committergebele <gebele@in-silico.ch>2018-03-20 16:57:19 +0100
commit245a13f5e8e887ea0884eebe15845b8d768b1e71 (patch)
tree65cef5509c27ad326acc1c04a4f36cbdd14d8d3e /qmrf_report.rb
parentc9def4631ced0e06c4c10bbbc84d7e7fe313f91b (diff)
updated faq and qmrf report
Diffstat (limited to 'qmrf_report.rb')
-rw-r--r--qmrf_report.rb14
1 files changed, 13 insertions, 1 deletions
diff --git a/qmrf_report.rb b/qmrf_report.rb
index b52e618..a031305 100644
--- a/qmrf_report.rb
+++ b/qmrf_report.rb
@@ -27,10 +27,22 @@ def qmrf_report id
# Date of QMRF 2.1
report.value "qmrf_date", "#{Time.now.strftime('%d %B %Y')}"
- # QMRF author(s) and contact details 2.1
+ # QMRF author(s) and contact details 2.2
report.change_catalog :authors_catalog, :firstauthor, {:name => "Christoph Helma", :affiliation => "in silico toxicology gmbh", :contact => "Rastatterstr. 41, CH-4057 Basel", :email => "info@in-silico.ch", :number => "1", :url => "www.in-silico.ch"}
report.ref_catalog :qmrf_authors, :authors_catalog, :firstauthor
+ # Date of QMRF update(s) 2.3
+ if prediction_model.name =~ /TD50|multiple/
+ report.value "qmrf_date_revision", "2014-12-05"
+ end
+
+ # Date of QMRF update(s) 2.4
+ if prediction_model.name =~ /TD50/
+ report.value "qmrf_revision", "Q29-44-39-423"
+ elsif prediction_model.name =~ /multiple/
+ report.value "qmrf_revision", "Q28-43-38-420"
+ end
+
# Model developer(s) and contact details 2.5
report.change_catalog :authors_catalog, :modelauthor, {:name => "Christoph Helma", :affiliation => "in silico toxicology gmbh", :contact => "Rastatterstr. 41, CH-4057 Basel", :email => "info@in-silico.ch", :number => "1", :url => "www.in-silico.ch"}
report.ref_catalog :model_authors, :authors_catalog, :modelauthor