Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenChM committed Nov 21, 2024
1 parent 38f81a2 commit 1c50011
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions biobb_mem/fatslim/fatslim_membranes.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from biobb_common.tools import file_utils as fu
import MDAnalysis as mda
import shutil
import os


class FatslimMembranes(BiobbObject):
Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit 1c50011

Please sign in to comment.