From 4f4f72fdab4982a24eeb66503ed47a5b64245c21 Mon Sep 17 00:00:00 2001 From: gebele Date: Thu, 21 Sep 2017 12:16:32 +0000 Subject: bumped version because added TD50 models and refined qmrf --- qmrf_report.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'qmrf_report.rb') diff --git a/qmrf_report.rb b/qmrf_report.rb index b52e618..e5fbdf3 100644 --- a/qmrf_report.rb +++ b/qmrf_report.rb @@ -31,6 +31,20 @@ def qmrf_report id 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 + if prediction_model.species =~ /TD50/ + # Date of QMRF update(s) 2.3 + report.value "qmrf_date_revision", "#{Time.parse("2014-12-05").strftime('%d %B %Y')}" + # QMRF update(s) 2.4 + report.value "qmrf_revision", "Q29-44-39-423" + end + + if prediction_model.species =~ /Rodent/ + # Date of QMRF update(s) 2.3 + report.value "qmrf_date_revision", "#{Time.parse("2014-12-05").strftime('%d %B %Y')}" + # QMRF update(s) 2.4 + 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