Skip to content
This repository has been archived by the owner on Aug 18, 2022. It is now read-only.

Commit

Permalink
Merge branch 'pytest-run-doc-doctests'
Browse files Browse the repository at this point in the history
  • Loading branch information
tmontaigu committed Sep 30, 2020
2 parents 4bfe4d7 + b558c15 commit 406ecd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@
- pip install lazperf

script:
- pytest pylas
- pytest pylastests
- python -m pytest docs
2 changes: 1 addition & 1 deletion docs/basic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ If you wish to get only the extra dimension names the point format can give them
['X', 'Y', 'Z', 'intensity', 'return_number', 'number_of_returns', 'scan_direction_flag', 'edge_of_flight_line', 'classification', 'synthetic', 'key_point', 'withheld', 'scan_angle_rank', 'user_data', 'point_source_id', 'gps_time', 'red', 'green', 'blue']
>>> list(point_format.extra_dimension_names)
[]
>>> las = pylas.read('pylastests/extra.laz')
>>> las = pylas.read('pylastests/extrabytes.las')
>>> list(las.point_format.extra_dimension_names)
['Colors', 'Reserved', 'Flags', 'Intensity', 'Time']

Expand Down

0 comments on commit 406ecd0

Please sign in to comment.