Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚚 Move default storage location from lndb/ to .lamindb/ #796

Merged
merged 5 commits into from Jun 22, 2023

Conversation

falexwolf
Copy link
Member

@falexwolf falexwolf commented Jun 22, 2023

@codecov
Copy link

codecov bot commented Jun 22, 2023

Codecov Report

Merging #796 (863f731) into main (d12e753) will decrease coverage by 0.02%.
The diff coverage is 66.66%.

❗ Current head 863f731 differs from pull request most recent head a5a9b75. Consider uploading reports for the commit a5a9b75 to get more accurate results

@@            Coverage Diff             @@
##             main     #796      +/-   ##
==========================================
- Coverage   77.92%   77.90%   -0.02%     
==========================================
  Files          31       31              
  Lines        1712     1715       +3     
==========================================
+ Hits         1334     1336       +2     
- Misses        378      379       +1     
Impacted Files Coverage Δ
lamindb/_file_methods.py 90.22% <66.66%> (-0.55%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@github-actions
Copy link

@github-actions github-actions bot temporarily deployed to pull request June 22, 2023 13:02 Inactive
@falexwolf falexwolf changed the title 💚 Fix tree view for zarr 🚚 Move default storage location from lndb/ to .lamindb/ Jun 22, 2023
@@ -198,11 +198,15 @@ def inner(dir_path: Union[Path, UPath], prefix: str = "", level=-1):
nonlocal files, directories
if not level:
return # 0, stop iterating
stripped_dir_path = dir_path.as_posix().rstrip("/")
# do not iterate through zarr directories
if stripped_dir_path.endswith(".zarr"):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also needed for .zrad.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, thanks for spotting this!

@falexwolf falexwolf merged commit 33c9d53 into main Jun 22, 2023
0 of 8 checks passed
@falexwolf falexwolf deleted the storagekey branch June 22, 2023 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants