Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Update instance name from dandi to lincbrain #61

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lincbrain/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ def urls(self) -> Iterator[str]:
# TODO: Also add docs for what each of these values should map to

known_instances = {
"dandi": DandiInstance(
"dandi",
"lincbrain": DandiInstance(
"lincbrain",
"https://lincbrain.org",
"https://api.lincbrain.org/api",
),
Expand Down
2 changes: 1 addition & 1 deletion lincbrain/delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def process_assets_debug(self) -> Iterator[Iterator[dict]]:

def delete(
paths: Iterable[str],
dandi_instance: str | DandiInstance = "dandi",
dandi_instance: str | DandiInstance = "lincbrain",
devel_debug: bool = False,
jobs: int | None = None,
force: bool = False,
Expand Down
2 changes: 1 addition & 1 deletion lincbrain/move.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ def move(
dest: str,
regex: bool = False,
existing: MoveExisting = MoveExisting.ERROR,
dandi_instance: str | DandiInstance = "dandi",
dandi_instance: str | DandiInstance = "lincbrain",
dandiset: Path | str | None = None,
work_on: MoveWorkOn = MoveWorkOn.AUTO,
devel_debug: bool = False,
Expand Down
2 changes: 1 addition & 1 deletion lincbrain/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def upload(
paths: Sequence[str | Path] | None = None,
existing: UploadExisting = UploadExisting.REFRESH,
validation: UploadValidation = UploadValidation.REQUIRE,
dandi_instance: str | DandiInstance = "dandi",
dandi_instance: str | DandiInstance = "lincbrain",
allow_any_path: bool = False,
upload_dandiset_metadata: bool = False,
devel_debug: bool = False,
Expand Down
Loading