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

Commit

Permalink
Update instance names from dandi to lincbrain
Browse files Browse the repository at this point in the history
  • Loading branch information
kabilar committed Aug 7, 2024
1 parent d682859 commit eeeb2a7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
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

0 comments on commit eeeb2a7

Please sign in to comment.