From f1d5e1b5f75b9b6c953f78532de4241928559c6e Mon Sep 17 00:00:00 2001 From: Aaron Kanzer Date: Tue, 9 Apr 2024 07:24:06 -0400 Subject: [PATCH] Include explicit auth call on move cmd --- lincbrain/move.py | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lincbrain/move.py b/lincbrain/move.py index 9996212bb..cbe571de8 100644 --- a/lincbrain/move.py +++ b/lincbrain/move.py @@ -812,6 +812,7 @@ def move( raise TypeError("`dandiset` must be a Path when work_on='both'") local_ds, subpath = find_dandiset_and_subpath(dandiset) client = DandiAPIClient.for_dandi_instance(dandi_instance) + client.dandi_authenticate() stack.enter_context(client) remote_ds = client.get_dandiset( local_ds.identifier, version_id="draft", lazy=False @@ -841,6 +842,7 @@ def move( else: local_ds, subpath = find_dandiset_and_subpath(dandiset) client = DandiAPIClient.for_dandi_instance(dandi_instance) + client.dandi_authenticate() stack.enter_context(client) remote_ds = client.get_dandiset( local_ds.identifier, version_id="draft", lazy=False diff --git a/setup.py b/setup.py index a2777529e..1a6e8e460 100755 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ import versioneer setup_kw = { - "version": versioneer.get_version(), + "version": "0.8.0", "cmdclass": versioneer.get_cmdclass(), } except ImportError: