Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
KADMOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LR-FPP-MDO
KADMOS
Commits
c681ff04
Commit
c681ff04
authored
8 years ago
by
Lukas Müller
Browse files
Options
Downloads
Patches
Plain Diff
Bug fix save_as_cmdows function
Former-commit-id: 78e93892af9c81d4ce1c09392782db764f35f6a4
parent
7a9ed309
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pyKADMOS/sample/graph.py
+4
-3
4 additions, 3 deletions
pyKADMOS/sample/graph.py
with
4 additions
and
3 deletions
pyKADMOS/sample/graph.py
+
4
−
3
View file @
c681ff04
...
...
@@ -3130,9 +3130,10 @@ class KadmosGraph(nx.DiGraph):
str(graph_problem_formulation.get('allow_unconverged_couplings')).lower())
# Create problemDefinition/problemFormulation/doeSettings
cmdows_doe_settings = Child(cmdows_problem_formulation, 'doeSettings')
for graph_doeSettingKey, graph_doeSettingValue in graph_problem_formulation['doe_settings'].iteritems():
if graph_doeSettingKey != 'doe_table':
Child(cmdows_doe_settings, make_camel_case(graph_doeSettingKey), graph_doeSettingValue)
if graph_problem_formulation.get('doe_settings') is not None:
for graph_doeSettingKey, graph_doeSettingValue in graph_problem_formulation['doe_settings'].iteritems():
if graph_doeSettingKey != 'doe_table':
Child(cmdows_doe_settings, make_camel_case(graph_doeSettingKey), graph_doeSettingValue)
# Create problemDefinition/problemRoles
cmdows_problem_roles = Child(cmdows_problem_definition, 'problemRoles')
# Create problemDefinition/problemRoles/parameters
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment