Skip to content

Commit a1fcde1

Browse files
committed
[doc/tutorial] Update property chapter
1 parent f8449bb commit a1fcde1

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

doc/tutorial.rst

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -441,15 +441,15 @@ The printout and attributes of a Property are explained in the next chapter.
441441
The Properties
442442
--------------
443443

444-
Properties need to be called explicitely via the properties function of a
445-
Section. You can then, either call a Property by name or by index::
444+
Properties need to be called explicitly via the properties function of a
445+
Section. You can then either call a Property by name or by index::
446446

447447
>>> print(odmlEX['TheCrew'].properties['NoCrewMembers'])
448448
<Property NoCrewMembers>
449-
>>> print(odmlEX['Setup'].properties[1])
449+
>>> print(odmlEX['TheCrew'].properties[1])
450450
<Property NoCrewMembers>
451451

452-
In the following we will only call Properties explicitely by their name.
452+
In the following we will only call Properties explicitly by their name.
453453

454454
The Property printout is reduced and only gives you information about the
455455
following:
@@ -507,13 +507,6 @@ dependency_value
507507
- Value of the other Property specified in the 'dependency' attribute on
508508
which this Property depends on.
509509

510-
mapping
511-
- optional Property attribute
512-
- The odML path within the same odML file (internal link) to another
513-
Section to which all children of this section, if a conversion is
514-
requested, should be transferred to, as long as the children not
515-
themselves define a mapping.
516-
517510
Let's check which attributes were defined for the Property 'NoCrewMembers'::
518511

519512
>>> print(odmlEX['TheCrew'].properties['NoCrewMembers'].name)

0 commit comments

Comments
 (0)