File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
nf_core/pipelines/download Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -214,10 +214,10 @@ def download_workflow(self):
214214
215215 # Set an output filename now that we have the outdir
216216 if self .platform :
217- self .output_filename = self .outdir .with_suffix ( ".git" )
217+ self .output_filename = self .outdir .parent / ( self . outdir . name + ".git" )
218218 summary_log .append (f"Output file: '{ self .output_filename } '" )
219219 elif self .compress_type is not None :
220- self .output_filename = self .outdir .with_suffix ( self .compress_type )
220+ self .output_filename = self .outdir .parent / ( self . outdir . name + "." + self .compress_type )
221221 summary_log .append (f"Output file: '{ self .output_filename } '" )
222222 else :
223223 summary_log .append (f"Output directory: '{ self .outdir } '" )
You can’t perform that action at this time.
0 commit comments