toolbox.file_handling package#

Submodules#

toolbox.file_handling.cleanHiM_run module#

Created on Sat May 2 17:16:07 2020

@author: marcnol

cleans directory structure

In the command line, run as $ cleanHiM_run.py

to erase all the directories produced recursively

and

$ cleanHiM_run.py –all

to erase also the output MD, Log, and Session files

toolbox.file_handling.cleanHiM_run.main()#

toolbox.file_handling.lndir module#

Created on Fri Oct 16 23:56:27 2020

@author: marcnol

make links of files in a directory to a second directory

In the command line, run as

Example:

$ lndir.py “/home/marcnol/Repositories/pyHiM/*py” ~/Downloads/test

Make sure that the first argument has quotation marks if you use wildcards!

toolbox.file_handling.lndir.main()#

toolbox.file_handling.unzipHiM_run module#

Created on Wed May 5 13:50:54 2021

@author: marcnol

unzips HiM_run.tar.gz recursively

In the command line, run as $ unzipHiM_run.py

to unzip all the directories recursively

toolbox.file_handling.unzipHiM_run.main()#

toolbox.file_handling.zipHiM_run module#

Created on Sun May 3 11:14:47 2020

@author: marcnol

zips all png, MD and output files from a HiM run. It excludes .npy and Tiff images.

In the command line, run as $ zipHiM_run.py

to zip all the directories recursively

toolbox.file_handling.zipHiM_run.main()#

Module contents#