view · edit · sidebar · attach · print · history

20130508-improve-fiparse-add-comed-link

<< | Index | >>


Summary

  • Add CoMed link to top page.
  • Update fiparsed chapter detection for swissmedicinfo PI.
  • Improve Table parsing for FI.

Commits

Index


Add CoMed link

commit

Update fiparsed PI chapter detection

Debug fiparsed for swissmedicinfo PI.

A Chapter Was ist Norsol und wann wird es angewendet? (effects) is missing.
amendments (Was sollte dazu beachtet werden?)

And some case these chapter titles look like each ether. (in Regular Expr.)

  • effects (Was|wann ... ist Norsol und wann wird es angewendet?)
  • contra_indication (wann ... nicht angewendet wenden?)

Re-Checked chapter titles of PI.
Finaly, updated regular expression order and update section ID.

commit

Prevent Termination by GC

Plugin: ODDB::TextInfoPlugin
Error: NotImplementedError
Message: method `method_missing' called on terminated object (0x000000085c4740 flags=0x0 klass=0x0)
Backtrace:
/var/www/oddb.org/src/util/language.rb:30:in `description'
/var/www/oddb.org/src/util/language.rb:50:in `method_missing'
/var/www/oddb.org/src/util/persistence.rb:59:in `block in diff'
/var/www/oddb.org/src/util/persistence.rb:57:in `each'
/var/www/oddb.org/src/util/persistence.rb:57:in `diff'
/var/www/oddb.org/src/util/persistence.rb:258:in `issue_update'
/var/www/oddb.org/src/util/oddbapp.rb:125:in `block in update'
/var/www/oddb.org/src/util/failsafe.rb:10:in `call'
/var/www/oddb.org/src/util/failsafe.rb:10:in `failsafe'
/var/www/oddb.org/src/util/oddbapp.rb:124:in `update'
/var/www/oddb.org/src/util/oddbapp.rb:1530:in `update'
/var/www/oddb.org/src/plugin/text_info.rb:131:in `store_patinfo'
commit

Improve Fi table parsing

Improve Table of Swissmedicinfo FI.
This is not td, actualy. (This is just line breake by ""<p>"")

Currently, fiparsde igrone line breake by <p>, because Swissmedicinfo XML contain many unused(empty/invalid) <p> tags.

continue tomorrow

view · edit · sidebar · attach · print · history
Page last modified on May 08, 2013, at 10:01 AM