LineaLabs / lineapy

Move fast from data science prototype to pipeline. Capture, analyze, and transform messy notebooks into data pipelines with just two lines of code.
https://lineapy.org
Apache License 2.0
664 stars 58 forks source link

Fix resolution of ~ in output_dir #851

Closed lionsardesai closed 1 year ago

lionsardesai commented 1 year ago

when output_dir="~", it should point to the user's home directory instead of the relative path that it resolves to right now.

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

existing tests should not create a ~ folder in the project root or in tests/notebooks