Skip to content

Commit e407686

Browse files
committed
Added docs help and cleaning of remove sandbox
1 parent 1e69949 commit e407686

File tree

5 files changed

+19
-3
lines changed

5 files changed

+19
-3
lines changed

biobb_cmip/cmip/cmip_ignore_residues.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ def cmip_ignore_residues(input_cmip_pdb_path: str, output_cmip_pdb_path: str, pr
113113
output_cmip_pdb_path=output_cmip_pdb_path,
114114
properties=properties, **kwargs).launch()
115115

116+
cmip_ignore_residues.__doc__ = CmipIgnoreResidues.__doc__
117+
116118

117119
def main():
118120
parser = argparse.ArgumentParser(description="Mark residues which charges will be ignored in the CMIP potential calculations.",

biobb_cmip/cmip/cmip_prepare_pdb.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def launch(self) -> int:
111111
self.copy_to_host()
112112

113113
# remove temporary folder(s)
114-
self.tmp_files.extend([self.stage_io_dict.get("unique_dir", "")])
114+
# self.tmp_files.extend([self.stage_io_dict.get("unique_dir", "")])
115115
self.remove_tmp_files()
116116

117117
self.check_arguments(output_files_created=True, raise_exception=False)
@@ -126,6 +126,8 @@ def cmip_prepare_pdb(input_pdb_path: str, output_cmip_pdb_path: str, properties:
126126
output_cmip_pdb_path=output_cmip_pdb_path,
127127
properties=properties, **kwargs).launch()
128128

129+
cmip_prepare_pdb.__doc__ = CmipPreparePDB.__doc__
130+
129131

130132
def main():
131133
parser = argparse.ArgumentParser(description="Model the missing atoms in the backbone of a PDB structure.",

biobb_cmip/cmip/cmip_prepare_structure.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ def cmip_prepare_structure(input_pdb_path: str, output_cmip_pdb_path: str, input
132132
input_topology_path=input_topology_path, properties=properties,
133133
**kwargs).launch()
134134

135+
cmip_prepare_structure.__doc__ = CmipPrepareStructure.__doc__
136+
135137

136138
def main():
137139
parser = argparse.ArgumentParser(description="Wrapper of the cmip prepare_structure module.",

biobb_cmip/cmip/cmip_run.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,10 @@ def launch(self) -> int:
287287
self.copy_to_host()
288288

289289
# remove temporary folder(s)
290-
self.tmp_files.extend([self.stage_io_dict.get("unique_dir", ""), combined_params_dir])
290+
self.tmp_files.extend([
291+
# self.stage_io_dict.get("unique_dir", ""),
292+
combined_params_dir
293+
])
291294
self.remove_tmp_files()
292295

293296
self.check_arguments(output_files_created=True, raise_exception=False)
@@ -312,6 +315,8 @@ def cmip_run(input_pdb_path: str, input_probe_pdb_path: Optional[str] = None, ou
312315
input_json_box_path=input_json_box_path, input_json_external_box_path=input_json_external_box_path,
313316
properties=properties, **kwargs).launch()
314317

318+
cmip_run.__doc__ = CmipRun.__doc__
319+
315320

316321
def main():
317322
parser = argparse.ArgumentParser(description="Wrapper of the CMIP cmip module.",

biobb_cmip/cmip/cmip_titration.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,10 @@ def launch(self) -> int:
156156
self.copy_to_host()
157157

158158
# remove temporary folder(s)
159-
self.tmp_files.extend([self.stage_io_dict.get("unique_dir", ""), combined_params_dir])
159+
self.tmp_files.extend([
160+
# self.stage_io_dict.get("unique_dir", ""),
161+
combined_params_dir
162+
])
160163
self.remove_tmp_files()
161164

162165
self.check_arguments(output_files_created=True, raise_exception=False)
@@ -173,6 +176,8 @@ def cmip_titration(input_pdb_path: str, output_pdb_path: str,
173176
input_vdw_params_path=input_vdw_params_path, input_params_path=input_params_path,
174177
properties=properties, **kwargs).launch()
175178

179+
cmip_titration.__doc__ = CmipTitration.__doc__
180+
176181

177182
def main():
178183
parser = argparse.ArgumentParser(description="Wrapper of the CMIP Titration module.",

0 commit comments

Comments
 (0)