diff --git a/lincbrain/cli/command.py b/lincbrain/cli/command.py index 7adf66a40..b65b23ac6 100644 --- a/lincbrain/cli/command.py +++ b/lincbrain/cli/command.py @@ -97,7 +97,7 @@ def main(ctx, log_level, pdb=False): h.addFilter(lambda r: not getattr(r, "file_only", False)) set_logger_level(h, log_level) - logdir = platformdirs.user_log_dir("dandi-cli", "dandi") + logdir = platformdirs.user_log_dir("lincbrain-cli", "lincbrain") logfile = os.path.join( logdir, f"{datetime.utcnow():%Y%m%d%H%M%SZ}-{os.getpid()}.log" ) @@ -116,7 +116,7 @@ def main(ctx, log_level, pdb=False): root.addHandler(handler) lgr.info( - "dandi v%s, hdmf v%s, pynwb v%s, h5py v%s", + "lincbrain v%s, hdmf v%s, pynwb v%s, h5py v%s", __version__, get_module_version("hdmf"), get_module_version("pynwb"), diff --git a/lincbrain/upload.py b/lincbrain/upload.py index bf9eea14b..a0ca23923 100644 --- a/lincbrain/upload.py +++ b/lincbrain/upload.py @@ -376,14 +376,14 @@ def upload_agg(*ignored: Any) -> str: try: import etelemetry - latest_version = etelemetry.get_project("dandi/dandi-cli")["version"] + latest_version = etelemetry.get_project("lincbrain/linc-cli")["version"] except Exception: pass else: if Version(latest_version) > Version(__version__): lgr.warning( "Upload failed, and you are not using the latest" - " version of dandi. We suggest upgrading dandi to v%s" + " version of lincbrain-cli. We suggest upgrading lincbrain-cli to v%s" " and trying again.", latest_version, )