Skip to content

Commit

Permalink
Merge pull request #178 from navis-org/read_tar_fix
Browse files Browse the repository at this point in the history
Improve reading from tar archives
  • Loading branch information
schlegelp authored Jan 3, 2025
2 parents 9c6e78c + 5be8f96 commit ab4de9e
Show file tree
Hide file tree
Showing 4 changed files with 309 additions and 270 deletions.
2 changes: 1 addition & 1 deletion docs/examples/0_io/tutorial_io_00_skeletons.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
# %%

# From an FTP folder:
nl = navis.read_swc('ftp://download.brainlib.org:8811/biccn/zeng/pseq/morph/200526/', limit=3)
nl = navis.read_swc('ftp://download.brainimagelibrary.org/biccn/zeng/pseq/morph/200526/', limit=3)


# !!! tip
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/1_plotting/tutorial_plotting_06_cortex.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import navis

nl = navis.read_swc(
"ftp://download.brainlib.org:8811/biccn/zeng/pseq/morph/200526/",
"ftp://download.brainimagelibrary.org/biccn/zeng/pseq/morph/200526/",
limit=[f"{i}_transformed.swc" for i in ids], # Load only the files we need
fmt="{name,id:int}_transformed.swc", # Parse the name and id from the file name
)
Expand Down
Loading

0 comments on commit ab4de9e

Please sign in to comment.