We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9353793 commit b89dfefCopy full SHA for b89dfef
1 file changed
cmdstanpy/utils/cmdstan.py
@@ -520,7 +520,11 @@ def install_cmdstan(
520
logger.warning('CmdStan installation failed.\n%s', str(e))
521
return False
522
523
- set_cmdstan_path(os.path.join(args.dir, f"cmdstan-{args.version}"))
+ if 'git:' in args.version:
524
+ folder = f"cmdstan-{args.version.replace(':', '-').replace('/', '_')}"
525
+ else:
526
+ folder = f"cmdstan-{args.version}"
527
+ set_cmdstan_path(os.path.join(args.dir, folder))
528
529
return True
530
0 commit comments