Skip to content

Commit

Permalink
Merge pull request #353 from weibullguy/refactor/update_preferences_a…
Browse files Browse the repository at this point in the history
…ssistant

refactor(Pref::GUI): add preferences editor assistant
  • Loading branch information
weibullguy authored Aug 31, 2020
2 parents 2e7898e + 87da01a commit 2bccbd7
Show file tree
Hide file tree
Showing 12 changed files with 606 additions and 985 deletions.
106 changes: 53 additions & 53 deletions cobertura.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<coverage branch-rate="0.9076" branches-covered="953" branches-valid="1050" complexity="0" line-rate="0.9597" lines-covered="5757" lines-valid="5999" timestamp="1598757625847" version="4.5.4">
<coverage branch-rate="0.9076" branches-covered="953" branches-valid="1050" complexity="0" line-rate="0.9597" lines-covered="5757" lines-valid="5999" timestamp="1598843979126" version="4.5.4">
<!-- Generated by coverage.py: https://coverage.readthedocs.io -->
<!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->
<sources/>
Expand Down Expand Up @@ -33,46 +33,46 @@
<line hits="0" number="72"/>
<line hits="0" number="74"/>
<line hits="0" number="77"/>
<line hits="0" number="87"/>
<line hits="0" number="88"/>
<line hits="0" number="89"/>
<line hits="0" number="90"/>
<line hits="0" number="94"/>
<line hits="0" number="95"/>
<line hits="0" number="92"/>
<line hits="0" number="96"/>
<line hits="0" number="97"/>
<line hits="0" number="98"/>
<line hits="0" number="101"/>
<line hits="0" number="100"/>
<line hits="0" number="103"/>
<line hits="0" number="104"/>
<line hits="0" number="105"/>
<line hits="0" number="109"/>
<line hits="0" number="110"/>
<line hits="0" number="106"/>
<line hits="0" number="107"/>
<line hits="0" number="111"/>
<line hits="0" number="112"/>
<line hits="0" number="114"/>
<line hits="0" number="115"/>
<line hits="0" number="124"/>
<line hits="0" number="116"/>
<line hits="0" number="117"/>
<line hits="0" number="126"/>
<line hits="0" number="128"/>
<line hits="0" number="130"/>
<line hits="0" number="131"/>
<line hits="0" number="132"/>
<line hits="0" number="133"/>
<line hits="0" number="135"/>
<line hits="0" number="137"/>
<line hits="0" number="139"/>
<line hits="0" number="141"/>
<line hits="0" number="142"/>
<line hits="0" number="143"/>
<line hits="0" number="144"/>
<line hits="0" number="146"/>
<line hits="0" number="148"/>
<line hits="0" number="150"/>
<line hits="0" number="152"/>
<line hits="0" number="154"/>
<line hits="0" number="156"/>
<line hits="0" number="159"/>
<line hits="0" number="160"/>
<line hits="0" number="158"/>
<line hits="0" number="161"/>
<line hits="0" number="162"/>
<line hits="0" number="163"/>
<line hits="0" number="164"/>
<line hits="0" number="165"/>
<line hits="0" number="166"/>
<line hits="0" number="168"/>
<line hits="0" number="169"/>
<line hits="0" number="170"/>
Expand All @@ -90,10 +90,10 @@
<line hits="0" number="188"/>
<line hits="0" number="189"/>
<line hits="0" number="191"/>
<line hits="0" number="197"/>
<line hits="0" number="202"/>
<line hits="0" number="204"/>
<line hits="0" number="206"/>
<line hits="0" number="198"/>
<line hits="0" number="203"/>
<line hits="0" number="205"/>
<line hits="0" number="207"/>
</lines>
</class>
<class branch-rate="0.7955" complexity="0" filename="/home/drowland/.pyenv/versions/3.7.2/envs/ramstk-py3-pygobject/lib/python3.7/site-packages/ramstk/configuration.py" line-rate="0.9202" name="configuration.py">
Expand Down Expand Up @@ -3243,50 +3243,50 @@
<methods/>
<lines>
<line hits="1" number="7"/>
<line hits="1" number="22"/>
<line hits="1" number="21"/>
<line hits="1" number="29"/>
<line hits="1" number="30"/>
<line hits="1" number="31"/>
<line hits="1" number="33"/>
<line hits="1" number="35"/>
<line hits="1" number="42"/>
<line hits="1" number="32"/>
<line hits="1" number="34"/>
<line hits="1" number="41"/>
<line hits="1" number="48"/>
<line hits="1" number="49"/>
<line hits="1" number="50"/>
<line hits="1" number="51"/>
<line hits="1" number="53"/>
<line hits="1" number="54"/>
<line hits="1" number="55"/>
<line hits="1" number="56"/>
<line hits="1" number="57"/>
<line hits="1" number="58"/>
<line hits="1" number="60"/>
<line hits="1" number="67"/>
<line hits="1" number="69"/>
<line hits="1" number="78"/>
<line branch="true" condition-coverage="100% (2/2)" hits="1" number="80"/>
<line hits="1" number="81"/>
<line branch="true" condition-coverage="100% (2/2)" hits="1" number="84"/>
<line hits="1" number="86"/>
<line branch="true" condition-coverage="100% (2/2)" hits="1" number="92"/>
<line hits="1" number="95"/>
<line hits="1" number="100"/>
<line hits="1" number="102"/>
<line hits="1" number="113"/>
<line hits="1" number="115"/>
<line branch="true" condition-coverage="100% (2/2)" hits="1" number="117"/>
<line hits="1" number="119"/>
<line branch="true" condition-coverage="100% (2/2)" hits="1" number="122"/>
<line hits="1" number="123"/>
<line hits="1" number="125"/>
<line hits="1" number="128"/>
<line hits="1" number="131"/>
<line branch="true" condition-coverage="100% (2/2)" hits="1" number="139"/>
<line hits="1" number="141"/>
<line hits="1" number="59"/>
<line hits="1" number="66"/>
<line hits="1" number="68"/>
<line hits="1" number="77"/>
<line branch="true" condition-coverage="100% (2/2)" hits="1" number="79"/>
<line hits="1" number="80"/>
<line branch="true" condition-coverage="100% (2/2)" hits="1" number="83"/>
<line hits="1" number="85"/>
<line branch="true" condition-coverage="100% (2/2)" hits="1" number="91"/>
<line hits="1" number="94"/>
<line hits="1" number="99"/>
<line hits="1" number="101"/>
<line hits="1" number="112"/>
<line hits="1" number="114"/>
<line branch="true" condition-coverage="100% (2/2)" hits="1" number="116"/>
<line hits="1" number="118"/>
<line branch="true" condition-coverage="100% (2/2)" hits="1" number="121"/>
<line hits="1" number="122"/>
<line hits="1" number="124"/>
<line hits="1" number="127"/>
<line hits="1" number="130"/>
<line branch="true" condition-coverage="100% (2/2)" hits="1" number="138"/>
<line hits="1" number="140"/>
<line hits="1" number="142"/>
<line hits="1" number="143"/>
<line hits="1" number="144"/>
<line branch="true" condition-coverage="100% (2/2)" hits="1" number="145"/>
<line branch="true" condition-coverage="100% (2/2)" hits="1" number="144"/>
<line hits="1" number="146"/>
<line hits="1" number="147"/>
<line hits="1" number="148"/>
<line hits="1" number="149"/>
<line hits="1" number="151"/>
<line hits="1" number="150"/>
</lines>
</class>
</classes>
Expand Down
11 changes: 6 additions & 5 deletions src/ramstk/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,11 @@ def on_fail_create_user_configuration(error_message: str) -> None:

def the_one_ring() -> None:
"""Execute the main function for RAMSTK."""
# // TODO: Implement splash screen.
# //
# // Add a splash screen to the launch of RAMSTK.
#// TODO: Implement splash screen.
#//
#// Add a splash screen to the launch of RAMSTK.
#//
#// labels: globalbacklog, normal
# splScreen = SplashScreen()

# Read the user configuration file and create a logger. The user
Expand Down Expand Up @@ -163,8 +165,6 @@ def the_one_ring() -> None:
_program_mgr.dic_managers['function']['matrix'] = mmFunction()
_program_mgr.dic_managers['function']['analysis'] = amFunction(
user_configuration)
# _program_mgr.dic_managers['ffmea']['analysis'] = amFMEA(user_configuration)
# _program_mgr.dic_managers['ffmea']['data'] = dmFMEA(functional=True)
_program_mgr.dic_managers['requirement']['data'] = dmRequirement()
_program_mgr.dic_managers['requirement']['matrix'] = mmRequirement()
_program_mgr.dic_managers['stakeholder']['analysis'] = amStakeholder(
Expand All @@ -189,6 +189,7 @@ def the_one_ring() -> None:
_logger.do_log_info(__name__, "Initialized the RAMSTK application.")

_logger.do_log_info(__name__, "Launching RAMSTK GUI.")

# If you don't do this, the splash screen will show, but won't render it's
# contents
# while Gtk.events_pending():
Expand Down
2 changes: 1 addition & 1 deletion src/ramstk/controllers/options/datamanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# ramstk.controllers.options.datamanager.py is part of The RAMSTK Project
#
# All rights reserved.
# Copyright 2007 - 2019 Doyle Rowland doyle.rowland <AT> reliaqual <DOT> com
# Copyright 2007 - 2020 Doyle Rowland doyle.rowland <AT> reliaqual <DOT> com
"""Options Package Data Model."""

# Standard Library Imports
Expand Down
2 changes: 1 addition & 1 deletion src/ramstk/views/gtk3/assistants/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
from .fmea import AddControlAction
from .options import EditOptions
from .pof import AddStressTestMethod
#from .preferences import EditPreferences
from .preferences import EditPreferences
from .project import CreateProject, OpenProject
from .similaritem import EditFunction
Loading

0 comments on commit 2bccbd7

Please sign in to comment.