mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nlp.git
				synced 2025-10-31 13:02:44 +00:00 
			
		
		
		
	Fix zip creation
This commit is contained in:
		
							
								
								
									
										6
									
								
								nlp
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								nlp
									
									
									
									
									
								
							| @@ -99,12 +99,16 @@ class NLPPipeline(WorkflowRunner): | ||||
|         ''' | ||||
|         zip_jobs = [] | ||||
|         if self.zip is not None: | ||||
|             # Remove .zip file extension if provided | ||||
|             if self.zip.endswith('.zip'): | ||||
|                 self.zip = self.zip[:-4] | ||||
|                 self.zip = self.zip if self.zip else 'output' | ||||
|             cmd = 'cd "{}"'.format(self.output_dir) | ||||
|             cmd += ' && ' | ||||
|             cmd += 'zip' | ||||
|             cmd += ' -m' | ||||
|             cmd += ' -r' | ||||
|             cmd += ' "{}_-_vrt" .'.format(self.zip) | ||||
|             cmd += ' "{}".zip .'.format(self.zip) | ||||
|             cmd += ' -x "pyflow.data*"' | ||||
|             cmd += ' -i "*.vrt"' | ||||
|             cmd += ' && ' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user