LCAS / LAST-Straw

2 stars 1 forks source link

[BUG]: code indent problem #1

Open 18684092 opened 4 months ago

18684092 commented 4 months ago

Description of the bug

Re: https://github.com/LCAS/LAST-Straw/blob/master/python/data_io.py In the main function the docstring is indented wrong. (Requires extra space)

if __name__ == '__main__':

   '''Example usage of the functions defined in this file'''

    # Please specify where the data set is located:
    data_dir = '/home/.../'

Steps To Reproduce

Copy / paste the file into VS Code and intellisense highlights problem

Additional Information

none

gcielniak commented 4 months ago

Thanks, Andy, can you turn this issue into a pull request, please? Fork, make changes that fix the bug and then sync with the main branch.

18684092 commented 4 months ago

Yes. There is also another bug as it is hardcoded to only work with the first scan. I'll fix this and do as you say and then will also suggest a pytorch dataloader version which I am writing now.