mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 16:07:41 +03:00 
			
		
		
		
	Run DVC command in project dir
This commit is contained in:
		
							parent
							
								
									2f6ee0d018
								
							
						
					
					
						commit
						90b7fa8fed
					
				|  | @ -395,7 +395,8 @@ def project_run(project_dir: Path, subcommand: str, *dvc_args) -> None: | |||
|     if subcommand in config.get("run", []): | ||||
|         # This is one of the pipeline commands tracked in DVC | ||||
|         dvc_cmd = ["dvc", "repro", subcommand, *dvc_args] | ||||
|         run_command(dvc_cmd) | ||||
|         with working_dir(project_dir): | ||||
|             run_command(dvc_cmd) | ||||
|     else: | ||||
|         cmd = commands[subcommand] | ||||
|         # Deps in non-DVC commands aren't tracked, but if they're defined, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user