Skip to content

Commit

Permalink
Fix documentation for getting a single property from the file
Browse files Browse the repository at this point in the history
Fixes #193
  • Loading branch information
adamreeve committed Apr 30, 2020
1 parent ea07db8 commit 8d0f204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ classes provide access to these properties as a dictionary using their ``propert
print("{0}: {1}".format(name, value))

# Get a single property value from the file
property_value = tdms_file.property("my_property_name")
property_value = tdms_file.properties["my_property_name"]

# Get a group property
property_value = tdms_file["group name"].properties["group_property_name"]
Expand Down

0 comments on commit 8d0f204

Please sign in to comment.