diff options
author | gebele <gebele@in-silico.ch> | 2017-09-21 12:16:32 +0000 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2017-09-21 12:16:32 +0000 |
commit | 4f4f72fdab4982a24eeb66503ed47a5b64245c21 (patch) | |
tree | 2abb26ee2bbdb82c1e448523683ce2896ba2b4a6 /qmrf_report.rb | |
parent | fbfa1f45d93f6b9de111eb95418f4e57a0bb361a (diff) |
bumped version because added TD50 models and refined qmrf
Diffstat (limited to 'qmrf_report.rb')
-rw-r--r-- | qmrf_report.rb | 14 |
1 files changed, 14 insertions, 0 deletions
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 |