Skip to content
Snippets Groups Projects
Commit c722a964 authored by imcovangent's avatar imcovangent
Browse files

Add DC1_MDA_PDFs

Former-commit-id: 568ea8fcd4332acfc6cae98f37cccf4e920e8232
parent c69286f0
No related branches found
No related tags found
No related merge requests found
Showing
with 11902 additions and 18989 deletions
No preview for this file type
No preview for this file type
This diff is collapsed.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
a8c89166f1d9e9366c7ab7c00deb5ac46e31f2ee
\ No newline at end of file
20982e12c20e5e46b31e3a889aff231e06738e4e
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
Auto-Collapse\ Setting=2
eclipse.preferences.version=1
org.eclipse.gef.psize=246
org.eclipse.gef.psize=393
org.eclipse.gef.pstate=4
<?xml version="1.0" encoding="UTF-8"?>
<workbench progressCount="15" version="2.0">
<workbench progressCount="11" version="2.0">
<workbenchAdvisor/>
<window height="772" maximized="true" width="982" x="949" y="0">
<fastViewData fastViewLocation="1024"/>
......@@ -8,11 +8,11 @@
</perspectiveBar>
<coolbarLayout>
<coolItem id="group.file" itemType="typeGroupMarker"/>
<coolItem id="org.eclipse.ui.workbench.file" itemType="typeToolBarContribution" x="99" y="22"/>
<coolItem id="org.eclipse.ui.workbench.file" itemType="typeToolBarContribution" x="115" y="22"/>
<coolItem id="additions" itemType="typeGroupMarker"/>
<coolItem id="de.rcenvironment.rce.gui.workflow.editor.WorkflowEditor" itemType="typeToolBarContribution" x="138" y="22"/>
<coolItem id="org.eclipse.debug.ui.launchActionSet" itemType="typeToolBarContribution" x="-1" y="-1"/>
<coolItem id="org.eclipse.search.searchActionSet" itemType="typeToolBarContribution" x="53" y="22"/>
<coolItem id="org.eclipse.search.searchActionSet" itemType="typeToolBarContribution" x="69" y="22"/>
<coolItem id="org.eclipse.ui.DefaultTextEditor" itemType="typePlaceholder" x="-1" y="-1"/>
<coolItem id="org.eclipse.ui.edit.text.actionSet.navigation" itemType="typeToolBarContribution" x="38" y="22"/>
<coolItem id="org.eclipse.ui.edit.text.actionSet.presentation" itemType="typeToolBarContribution" x="61" y="22"/>
......@@ -37,10 +37,10 @@
</folder>
</info>
</editorArea>
<editor activePart="true" focus="true" id="de.rcenvironment.rce.gui.workflow.editor.WorkflowEditor" name="test_all_tools.wf" partName="test_all_tools.wf" path="Z:/Users/imcovangent/Documents/PhD/Software/KADMOS/pyKADMOS/scripts/RCE_workingdirectory/TUD_case_study/test_all_tools.wf" title="test_all_tools.wf" tooltip="TUD_case_study/test_all_tools.wf" workbook="DefaultEditorWorkbook">
<editor id="de.rcenvironment.rce.gui.workflow.editor.WorkflowEditor" name="test_all_tools.wf" partName="test_all_tools.wf" path="Z:/Users/imcovangent/Documents/PhD/Software/KADMOS/pyKADMOS/scripts/RCE_workingdirectory/TUD_case_study/test_all_tools.wf" title="test_all_tools.wf" tooltip="TUD_case_study/test_all_tools.wf" workbook="DefaultEditorWorkbook">
<input factoryID="org.eclipse.ui.part.FileEditorInputFactory" path="/TUD_case_study/test_all_tools.wf"/>
</editor>
<editor id="de.rcenvironment.rce.gui.workflow.editor.WorkflowEditor" name="converge_MTOM.wf" partName="converge_MTOM.wf" path="Z:/Users/imcovangent/Documents/PhD/Software/KADMOS/pyKADMOS/scripts/RCE_workingdirectory/TUD_case_study/converge_MTOM.wf" title="converge_MTOM.wf" tooltip="TUD_case_study/converge_MTOM.wf" workbook="DefaultEditorWorkbook">
<editor activePart="true" focus="true" id="de.rcenvironment.rce.gui.workflow.editor.WorkflowEditor" name="converge_MTOM.wf" partName="converge_MTOM.wf" path="Z:/Users/imcovangent/Documents/PhD/Software/KADMOS/pyKADMOS/scripts/RCE_workingdirectory/TUD_case_study/converge_MTOM.wf" title="converge_MTOM.wf" tooltip="TUD_case_study/converge_MTOM.wf" workbook="DefaultEditorWorkbook">
<input factoryID="org.eclipse.ui.part.FileEditorInputFactory" path="/TUD_case_study/converge_MTOM.wf"/>
</editor>
</editors>
......@@ -61,7 +61,7 @@
<viewState/>
</view>
<view id="org.eclipse.ui.navigator.ProjectExplorer" partName="Project Explorer">
<viewState CommonNavigator.LINKING_ENABLED="0" org.eclipse.ui.navigator.resources.workingSets.showTopLevelWorkingSets="1"/>
<viewState CommonNavigator.LINKING_ENABLED="0"/>
</view>
</views>
<perspectives activePart="de.rcenvironment.rce.gui.workflow.editor.WorkflowEditor" activePerspective="de.rcenvironment.core">
......@@ -128,10 +128,7 @@
<workingSets/>
<navigationHistory>
<editors>
<editor factoryID="org.eclipse.ui.part.FileEditorInputFactory" id="de.rcenvironment.rce.gui.workflow.editor.WorkflowEditor" path="/TUD_case_study/test_all_tools.wf"/>
<editor factoryID="org.eclipse.ui.part.FileEditorInputFactory" id="de.rcenvironment.rce.gui.workflow.editor.WorkflowEditor" path="/scriptedTUDwingDesign/TUDwingDesign_unconverged-DOE-GS.wf"/>
<editor factoryID="org.eclipse.ui.ide.FileStoreEditorInputFactory" id="org.eclipse.ui.DefaultTextEditor" uri="file:/C:/Users/IMCOVA~1/AppData/Local/Temp/rce-temp/default-1490366361975/34/9cd3da5c-c057-495a-b068-24826a7db282/Q3D_VDE_-1_compl.log"/>
<editor factoryID="org.eclipse.ui.part.FileEditorInputFactory" id="de.rcenvironment.core.gui.workflow.editor.WorkflowRunEditor" path="/External Files/Users/IMCOVA~1/AppData/Local/Temp/rce-temp/default-1490366361975/2/1b06740c-fc4a-4fa3-9420-3a63fb0d5965.wfr"/>
<editor factoryID="org.eclipse.ui.part.FileEditorInputFactory" id="de.rcenvironment.core.gui.workflow.editor.WorkflowRunEditor" path="/External Files/Users/IMCOVA~1/AppData/Local/Temp/rce-temp/default-1490366361975/2/8dab889f-b976-4f16-9a64-857de68193e8.wfr"/>
<editor factoryID="org.eclipse.ui.part.FileEditorInputFactory" id="de.rcenvironment.rce.gui.workflow.editor.WorkflowEditor" path="/TUD_case_study/test_all_tools.wf"/>
<editor factoryID="org.eclipse.ui.part.FileEditorInputFactory" id="de.rcenvironment.core.gui.workflow.editor.WorkflowRunEditor" path="/External Files/Users/IMCOVA~1/AppData/Local/Temp/rce-temp/default-1490367839569/2/6bd0daed-c1a0-40e1-afe3-08ab6b1af11c.wfr"/>
......@@ -146,63 +143,62 @@
<editor factoryID="org.eclipse.ui.part.FileEditorInputFactory" id="de.rcenvironment.rce.gui.workflow.editor.WorkflowEditor" path="/scriptedTUDwingDesign/TUDwingDesign_converged-MDA-GS.wf"/>
<editor factoryID="org.eclipse.ui.part.FileEditorInputFactory" id="de.rcenvironment.rce.gui.workflow.editor.WorkflowEditor" path="/scriptedTUDwingDesign/TUDwingDesign_converged-MDA-J.wf"/>
<editor factoryID="org.eclipse.ui.part.FileEditorInputFactory" id="de.rcenvironment.rce.gui.workflow.editor.WorkflowEditor" path="/scriptedTUDwingDesign/TUDwingDesign_unconverged-DOE-GS.wf"/>
<editor factoryID="org.eclipse.ui.part.FileEditorInputFactory" id="de.rcenvironment.rce.gui.workflow.editor.WorkflowEditor" path="/TUD_case_study/converge_MTOM.wf"/>
</editors>
<item historyLabel="Q3D_VDE_-1_compl.log" index="2">
<position info="not_deleted" x="0" y="0"/>
</item>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="1"/>
<item historyLabel="test_all_tools.wf" index="0"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="1"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="0"/>
<item historyLabel="Workflow Viewer" index="1"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="0"/>
<item historyLabel="test_all_tools.wf" index="2"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="0"/>
<item historyLabel="Workflow Viewer" index="3"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="1"/>
<item historyLabel="Workflow Viewer" index="4"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="1"/>
<item historyLabel="test_all_tools.wf" index="5"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="1"/>
<item historyLabel="Workflow Viewer" index="6"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="1"/>
<item historyLabel="Merger-output.xml" index="7">
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="0"/>
<item historyLabel="Merger-output.xml" index="4">
<position info="not_deleted" x="3821" y="7"/>
</item>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="1"/>
<item historyLabel="Workflow Viewer" index="8"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="1"/>
<item historyLabel="Merger-output.xml" index="7">
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="0"/>
<item historyLabel="Workflow Viewer" index="5"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="0"/>
<item historyLabel="Merger-output.xml" index="4">
<position info="not_deleted" x="3821" y="7"/>
</item>
<item historyLabel="test_all_tools.wf" index="5"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="1"/>
<item historyLabel="test_all_tools.wf" index="5"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="1"/>
<item historyLabel="test_all_tools.wf" index="5"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="1"/>
<item historyLabel="Workflow Viewer" index="9"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="1"/>
<item historyLabel="test_all_tools.wf" index="5"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="10"/>
<item historyLabel="Workflow Viewer" index="11"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="10"/>
<item historyLabel="test_all_tools.wf" index="5"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="12"/>
<item historyLabel="test_all_tools.wf" index="5"/>
<item historyLabel="TUDwingDesign_unconverged-MDA-GS.wf" index="13"/>
<item historyLabel="TUDwingDesign_unconverged-MDA-J.wf" index="14"/>
<item historyLabel="TUDwingDesign_converged-MDA-GS.wf" index="15"/>
<item historyLabel="TUDwingDesign_unconverged-MDA-J.wf" index="14"/>
<item historyLabel="TUDwingDesign_unconverged-MDA-GS.wf" index="13"/>
<item historyLabel="test_all_tools.wf" index="5"/>
<item historyLabel="TUDwingDesign_converged-MDA-J.wf" index="16"/>
<item historyLabel="test_all_tools.wf" index="5"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="17"/>
<item historyLabel="test_all_tools.wf" index="5"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="17"/>
<item historyLabel="test_all_tools.wf" index="5"/>
<item historyLabel="TUDwingDesign_converged-MDA-GS.wf" index="15"/>
<item historyLabel="test_all_tools.wf" index="5"/>
<item historyLabel="TUDwingDesign_converged-MDA-J.wf" index="16"/>
<item historyLabel="test_all_tools.wf" index="5"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="17"/>
<item active="true" historyLabel="test_all_tools.wf" index="5"/>
<item historyLabel="test_all_tools.wf" index="2"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="0"/>
<item historyLabel="test_all_tools.wf" index="2"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="0"/>
<item historyLabel="test_all_tools.wf" index="2"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="0"/>
<item historyLabel="Workflow Viewer" index="6"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="0"/>
<item historyLabel="test_all_tools.wf" index="2"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="7"/>
<item historyLabel="Workflow Viewer" index="8"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="7"/>
<item historyLabel="test_all_tools.wf" index="2"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="9"/>
<item historyLabel="test_all_tools.wf" index="2"/>
<item historyLabel="TUDwingDesign_unconverged-MDA-GS.wf" index="10"/>
<item historyLabel="TUDwingDesign_unconverged-MDA-J.wf" index="11"/>
<item historyLabel="TUDwingDesign_converged-MDA-GS.wf" index="12"/>
<item historyLabel="TUDwingDesign_unconverged-MDA-J.wf" index="11"/>
<item historyLabel="TUDwingDesign_unconverged-MDA-GS.wf" index="10"/>
<item historyLabel="test_all_tools.wf" index="2"/>
<item historyLabel="TUDwingDesign_converged-MDA-J.wf" index="13"/>
<item historyLabel="test_all_tools.wf" index="2"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="14"/>
<item historyLabel="test_all_tools.wf" index="2"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="14"/>
<item historyLabel="test_all_tools.wf" index="2"/>
<item historyLabel="TUDwingDesign_converged-MDA-GS.wf" index="12"/>
<item historyLabel="test_all_tools.wf" index="2"/>
<item historyLabel="TUDwingDesign_converged-MDA-J.wf" index="13"/>
<item historyLabel="test_all_tools.wf" index="2"/>
<item historyLabel="TUDwingDesign_unconverged-DOE-GS.wf" index="14"/>
<item historyLabel="test_all_tools.wf" index="2"/>
<item historyLabel="converge_MTOM.wf" index="15"/>
<item historyLabel="test_all_tools.wf" index="2"/>
<item historyLabel="converge_MTOM.wf" index="15"/>
<item historyLabel="test_all_tools.wf" index="2"/>
<item active="true" historyLabel="converge_MTOM.wf" index="15"/>
</navigationHistory>
</page>
<workbenchWindowAdvisor/>
......
......@@ -12,7 +12,7 @@ reload_full_cluster = True
redo_aero_cluster = True
redo_weight_cluster = True
redo_mission_cluster = True
vispack_version = '170330'
vispack_version = '170403_Arial'
if reload_full_kb:
KB_DC1_AGILE = KnowledgeBase(kb_dir_path, 'KB_DC1_AGILE')
......
import os
import sys
from xml.etree import ElementTree as et
class hashabledict(dict):
def __hash__(self):
return hash(tuple(sorted(self.items())))
class XMLCombiner(object):
def __init__(self, filenames):
assert len(filenames) > 0, 'No filenames!'
# save all the roots, in order, to be processed later
self.roots = [et.parse(f).getroot() for f in filenames]
def combine(self):
for r in self.roots[1:]:
# combine each element with the first one, and update that
self.combine_element(self.roots[0], r)
# return the string representation
return et.ElementTree(self.roots[0])
def combine_element(self, one, other):
"""
This function recursively updates either the text or the children
of an element if another element is found in `one`, or adds it
from `other` if not found.
"""
# Create a mapping from tag name to element, as that's what we are fltering with
mapping = {(el.tag, hashabledict(el.attrib)): el for el in one}
for el in other:
if len(el) == 0:
# Not nested
try:
# Update the text
mapping[(el.tag, hashabledict(el.attrib))].text = el.text
except KeyError:
# An element with this name is not in the mapping
mapping[(el.tag, hashabledict(el.attrib))] = el
# Add it
one.append(el)
else:
try:
# Recursively process the element, and update it in the same way
self.combine_element(mapping[(el.tag, hashabledict(el.attrib))], el)
except KeyError:
# Not in the mapping
mapping[(el.tag, hashabledict(el.attrib))] = el
# Just add it
one.append(el)
if __name__ == '__main__':
sys.stdout.write('XML MERGER\n')
for file in sys.argv[1:]:
if file.endswith('.xml'):
sys.stdout.write('file: ' + file + '\n')
r = XMLCombiner(sys.argv[1:]).combine()
print '-'*20
print et.tostring(r.getroot())
r.write('Merger-output-loc.xml', encoding="iso-8859-1", xml_declaration=True)
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<map:mappings xmlns:map="http://www.rcenvironment.de/2015/mapping"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<map:mapping>
<map:source>/cpacs</map:source>
<map:target>/cpacs</map:target>
</map:mapping>
</map:mappings>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment