las-js icon indicating copy to clipboard operation
las-js copied to clipboard

[BUG]: unnecessary digits in property description

Open iykekings opened this issue 5 years ago • 1 comments

Describe the bug Using the example1.las file provided in sample files. When I run myLas.curveParams, the description entries in the object returned have "1 Property Description" instead of just "Property Description".

To Reproduce Steps to reproduce the behavior:

  1. Import las-js
  2. RunmyLas.curveParams() with example1.las file
  3. Property field return looks "1 Property Description" instead of just "Property Description".

Expected behavior property fields should not be like "1 Property Description" rather "Property Description".

Desktop (please complete the following information):

  • OS: MacOS
  • Version 3.1.5
  • Node Version 12.x

Suggestion description in line 347 index.ts should be checked to see if it contains this unnecessary digit(s) and replaced with empty string.

iykekings avatar Jan 27 '20 10:01 iykekings

A fix for this can is currently present in las-go

iykekings avatar Jan 28 '20 07:01 iykekings