From 245a13f5e8e887ea0884eebe15845b8d768b1e71 Mon Sep 17 00:00:00 2001 From: gebele Date: Tue, 20 Mar 2018 16:57:19 +0100 Subject: updated faq and qmrf report --- qmrf_report.rb | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'qmrf_report.rb') 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 -- cgit v1.2.3