From 1c50011650fa666c7bd49378d43d97d4960c58c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Chaves?= Date: Thu, 21 Nov 2024 16:05:27 +0100 Subject: [PATCH] test --- biobb_mem/fatslim/fatslim_membranes.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/biobb_mem/fatslim/fatslim_membranes.py b/biobb_mem/fatslim/fatslim_membranes.py index 411b975..1bd9dc0 100755 --- a/biobb_mem/fatslim/fatslim_membranes.py +++ b/biobb_mem/fatslim/fatslim_membranes.py @@ -9,6 +9,7 @@ from biobb_common.tools import file_utils as fu import MDAnalysis as mda import shutil +import os class FatslimMembranes(BiobbObject): @@ -119,8 +120,11 @@ def launch(self) -> int: # Run Biobb block self.run_biobb() - print('test', shutil.which("fatslim")) - shutil.move(self.tmp_out[:-4]+'_0000.ndx', self.stage_io_dict["out"]["output_ndx_path"]) + print('TEST', os.listdir(PurePath(self.tmp_out).parent)) + print('TEST', os.listdir(PurePath(self.tmp_ndx).parent)) + print('TEST', os.listdir(PurePath(self.tmp_out).parent)) + print('TEST', shutil.which("fatslim")) + os.rename(self.tmp_out[:-4]+'_0000.ndx', self.stage_io_dict["out"]["output_ndx_path"]) # Copy files to host self.copy_to_host()