Move logictree.py into nrmllib

Bug #1294601 reported by Michele Simionato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake Engine
Fix Released
High
Michele Simionato

Bug Description

This was requested by Graeme and makes a lot of sense for users of hazardlib and nrmllib that do not want to install the engine just for the logic tree functionality. The move is trivial since logictree.py does not depend on the engine code.

Revision history for this message
Michele Simionato (michele-simionato) wrote :

Question for the scientists: at the moment hazardlib and nrmllib are totally decoupled. logictree.py would couple the two libraries. In particular hazardlib would depend from nrmllib. Is that fine? The alternative is to change the parse to not use lxml and nrmllib, just ElementTree.

Revision history for this message
Michele Simionato (michele-simionato) wrote :

After discussion, the decision was to move input/logictree.py and input/source.py into commonlib which will become a dependency of the engine. First some cleanup is needed: https://github.com/gem/oq-engine/pull/1433

Changed in oq-engine:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Michele Simionato (michele-simionato)
milestone: none → 1.0.1
Changed in oq-engine:
status: In Progress → Fix Committed
Changed in oq-engine:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.