Skip to content
Snippets Groups Projects
Commit cf01e639 authored by maaikedieuwertje's avatar maaikedieuwertje
Browse files

change add_contact() to immediately add to the organization

Former-commit-id: e52903a8b7009802fe800c4903181369ba10656e
parent c026c250
No related branches found
No related tags found
No related merge requests found
Showing
with 2 additions and 5 deletions
...@@ -111,11 +111,8 @@ rcg.add_equation('F1', 'x1**2+z2+y1+exp(-y2)', 'Python') ...@@ -111,11 +111,8 @@ rcg.add_equation('F1', 'x1**2+z2+y1+exp(-y2)', 'Python')
rcg.add_equation('F1', 'x1^2+z2+y1+e^{-y2}', 'LaTeX') rcg.add_equation('F1', 'x1^2+z2+y1+e^{-y2}', 'LaTeX')
rcg.add_equation('F1', '<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi><msup><mn>1</mn><mn>2</mn></msup><mo>+</mo><mi>z</mi><mn>2</mn><mo>+</mo><mi>y</mi><mn>1</mn><mo>+</mo><msup><mi>e</mi><mrow><mo>-</mo><mi>y</mi><mn>2</mn></mrow></msup></math>', 'MathML') rcg.add_equation('F1', '<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi><msup><mn>1</mn><mn>2</mn></msup><mo>+</mo><mi>z</mi><mn>2</mn><mo>+</mo><mi>y</mi><mn>1</mn><mo>+</mo><msup><mi>e</mi><mrow><mo>-</mo><mi>y</mi><mn>2</mn></mrow></msup></math>', 'MathML')
# Add some (optional) organization information # Add some (optional) organization information
contacts = [] rcg.add_contact('Imco van Gent','i.vangent@tudelft.nl','ivangent',company='TU Delft', roles=['architect','integrator'])
organigram = {} rcg.add_contact('Lukas Muller','l.muller@student.tudelft.nl','lmuller',company='TU Delft', roles='architect')
rcg.add_contact(contacts,'Imco van Gent','i.vangent@tudelft.nl','ivangent',company='TU Delft', roles=['architect','integrator'])
rcg.add_contact(contacts,'Lukas Muller','l.muller@student.tudelft.nl','lmuller',company='TU Delft', roles='architect')
rcg.add_organization(organigram, contacts)
# Add some (optional) ranges # Add some (optional) ranges
rcg.adj['/data_schema/geometry/z1']['D1']['valid_ranges'] = {'limit_range': {'minimum': -5, 'maximum': 5.}, rcg.adj['/data_schema/geometry/z1']['D1']['valid_ranges'] = {'limit_range': {'minimum': -5, 'maximum': 5.},
......
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
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
No preview for this file type
File added
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
No preview for this file type
No preview for this file type
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