File tree 15 files changed +54
-17
lines changed
biobb_structure_utils/utils
15 files changed +54
-17
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ def launch(self) -> int:
131
131
self .copy_to_host ()
132
132
133
133
# Remove temporal files
134
- self .tmp_files .append (self .stage_io_dict .get ("unique_dir" , "" ))
134
+ # self.tmp_files.append(self.stage_io_dict.get("unique_dir", ""))
135
135
self .remove_tmp_files ()
136
136
137
137
self .check_arguments (output_files_created = True , raise_exception = False )
@@ -157,6 +157,8 @@ def cat_pdb(
157
157
** kwargs ,
158
158
).launch ()
159
159
160
+ cat_pdb .__doc__ = CatPDB .__doc__
161
+
160
162
161
163
def main ():
162
164
"""Command line execution of this building block. Please check the command line documentation."""
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ def launch(self) -> int:
208
208
self .copy_to_host ()
209
209
210
210
# Remove temporal files
211
- self .tmp_files .append (self .stage_io_dict .get ("unique_dir" , "" ))
211
+ # self.tmp_files.append(self.stage_io_dict.get("unique_dir", ""))
212
212
self .remove_tmp_files ()
213
213
214
214
self .check_arguments (output_files_created = True , raise_exception = False )
@@ -232,6 +232,8 @@ def closest_residues(
232
232
** kwargs ,
233
233
).launch ()
234
234
235
+ closest_residues .__doc__ = ClosestResidues .__doc__
236
+
235
237
236
238
def main ():
237
239
"""Command line execution of this building block. Please check the command line documentation."""
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ def launch(self) -> int:
154
154
self .copy_to_host ()
155
155
156
156
# Remove temporal files
157
- self .tmp_files .append (self .stage_io_dict .get ("unique_dir" , "" ))
157
+ # self.tmp_files.append(self.stage_io_dict.get("unique_dir", ""))
158
158
self .remove_tmp_files ()
159
159
160
160
self .check_arguments (output_files_created = True , raise_exception = False )
@@ -178,6 +178,8 @@ def extract_atoms(
178
178
** kwargs ,
179
179
).launch ()
180
180
181
+ extract_atoms .__doc__ = ExtractAtoms .__doc__
182
+
181
183
182
184
def main ():
183
185
"""Command line execution of this building block. Please check the command line documentation."""
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ def launch(self) -> int:
151
151
self .copy_to_host ()
152
152
153
153
# Remove temporal files
154
- self .tmp_files .append (self .stage_io_dict .get ("unique_dir" , "" ))
154
+ # self.tmp_files.append(self.stage_io_dict.get("unique_dir", ""))
155
155
self .remove_tmp_files ()
156
156
157
157
self .check_arguments (output_files_created = True , raise_exception = False )
@@ -191,6 +191,8 @@ def extract_chain(
191
191
** kwargs ,
192
192
).launch ()
193
193
194
+ extract_chain .__doc__ = ExtractChain .__doc__
195
+
194
196
195
197
def main ():
196
198
"""Command line execution of this building block. Please check the command line documentation."""
Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ def launch(self) -> int:
170
170
self .copy_to_host ()
171
171
172
172
# Remove temporal files
173
- self .tmp_files .append (self .stage_io_dict .get ("unique_dir" , "" ))
173
+ # self.tmp_files.append(self.stage_io_dict.get("unique_dir", ""))
174
174
self .remove_tmp_files ()
175
175
176
176
self .check_arguments (output_files_created = True , raise_exception = False )
@@ -194,6 +194,8 @@ def extract_heteroatoms(
194
194
** kwargs ,
195
195
).launch ()
196
196
197
+ extract_heteroatoms .__doc__ = ExtractHeteroAtoms .__doc__
198
+
197
199
198
200
def main ():
199
201
"""Command line execution of this building block. Please check the command line documentation."""
Original file line number Diff line number Diff line change @@ -148,9 +148,10 @@ def launch(self) -> int:
148
148
self .copy_to_host ()
149
149
150
150
# Remove temporal files
151
- self .tmp_files .extend (
152
- [self .stage_io_dict .get ("unique_dir" , "" ), tmp_folder ]
153
- )
151
+ self .tmp_files .extend ([
152
+ # self.stage_io_dict.get("unique_dir", ""),
153
+ tmp_folder
154
+ ])
154
155
self .remove_tmp_files ()
155
156
156
157
self .check_arguments (output_files_created = True , raise_exception = False )
@@ -190,6 +191,8 @@ def extract_model(
190
191
** kwargs ,
191
192
).launch ()
192
193
194
+ extract_model .__doc__ = ExtractModel .__doc__
195
+
193
196
194
197
def main ():
195
198
"""Command line execution of this building block. Please check the command line documentation."""
Original file line number Diff line number Diff line change @@ -146,7 +146,10 @@ def launch(self) -> int:
146
146
self .copy_to_host ()
147
147
148
148
# Remove temporal files
149
- self .tmp_files .extend ([self .stage_io_dict .get ("unique_dir" , "" ), tmp_folder ])
149
+ self .tmp_files .extend ([
150
+ self .stage_io_dict .get ("unique_dir" , "" ),
151
+ # tmp_folder
152
+ ])
150
153
self .remove_tmp_files ()
151
154
152
155
self .check_arguments (output_files_created = True , raise_exception = False )
@@ -170,6 +173,8 @@ def extract_molecule(
170
173
** kwargs ,
171
174
).launch ()
172
175
176
+ extract_molecule .__doc__ = ExtractMolecule .__doc__
177
+
173
178
174
179
def main ():
175
180
"""Command line execution of this building block. Please check the command line documentation."""
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ def launch(self) -> int:
157
157
self .copy_to_host ()
158
158
159
159
# Remove temporal files
160
- self .tmp_files .append (self .stage_io_dict .get ("unique_dir" , "" ))
160
+ # self.tmp_files.append(self.stage_io_dict.get("unique_dir", ""))
161
161
self .remove_tmp_files ()
162
162
163
163
self .check_arguments (output_files_created = True , raise_exception = False )
@@ -181,6 +181,8 @@ def extract_residues(
181
181
** kwargs ,
182
182
).launch ()
183
183
184
+ extract_residues .__doc__ = ExtractResidues .__doc__
185
+
184
186
185
187
def main ():
186
188
"""Command line execution of this building block. Please check the command line documentation."""
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ def launch(self) -> int:
122
122
self .copy_to_host ()
123
123
124
124
# Remove temporal files
125
- self .tmp_files .append (self .stage_io_dict .get ("unique_dir" , "" ))
125
+ # self.tmp_files.append(self.stage_io_dict.get("unique_dir", ""))
126
126
self .remove_tmp_files ()
127
127
128
128
self .check_arguments (output_files_created = True , raise_exception = False )
@@ -146,6 +146,8 @@ def remove_ligand(
146
146
** kwargs ,
147
147
).launch ()
148
148
149
+ remove_ligand .__doc__ = RemoveLigand .__doc__
150
+
149
151
150
152
def main ():
151
153
"""Command line execution of this building block. Please check the command line documentation."""
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ def launch(self) -> int:
162
162
self .copy_to_host ()
163
163
164
164
# Remove temporal files
165
- self .tmp_files .append (self .stage_io_dict .get ("unique_dir" , "" ))
165
+ # self.tmp_files.append(self.stage_io_dict.get("unique_dir", ""))
166
166
self .remove_tmp_files ()
167
167
168
168
self .check_arguments (output_files_created = True , raise_exception = False )
@@ -186,6 +186,8 @@ def remove_molecules(
186
186
** kwargs ,
187
187
).launch ()
188
188
189
+ remove_molecules .__doc__ = RemoveMolecules .__doc__
190
+
189
191
190
192
def main ():
191
193
"""Command line execution of this building block. Please check the command line documentation."""
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ def launch(self) -> int:
95
95
self .copy_to_host ()
96
96
97
97
# Remove temporal files
98
- self .tmp_files .append (self .stage_io_dict .get ("unique_dir" , "" ))
98
+ # self.tmp_files.append(self.stage_io_dict.get("unique_dir", ""))
99
99
self .remove_tmp_files ()
100
100
101
101
self .check_arguments (output_files_created = True , raise_exception = False )
@@ -119,6 +119,8 @@ def remove_pdb_water(
119
119
** kwargs ,
120
120
).launch ()
121
121
122
+ remove_pdb_water .__doc__ = RemovePdbWater .__doc__
123
+
122
124
123
125
def main ():
124
126
"""Command line execution of this building block. Please check the command line documentation."""
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ def launch(self) -> int:
177
177
self .copy_to_host ()
178
178
179
179
# Remove temporal files
180
- self .tmp_files .append (self .stage_io_dict .get ("unique_dir" , "" ))
180
+ # self.tmp_files.append(self.stage_io_dict.get("unique_dir", ""))
181
181
self .remove_tmp_files ()
182
182
183
183
self .check_arguments (output_files_created = True , raise_exception = False )
@@ -203,6 +203,8 @@ def renumber_structure(
203
203
** kwargs ,
204
204
).launch ()
205
205
206
+ renumber_structure .__doc__ = RenumberStructure .__doc__
207
+
206
208
207
209
def main ():
208
210
"""Command line execution of this building block. Please check the command line documentation."""
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ def launch(self) -> int:
94
94
self .copy_to_host ()
95
95
96
96
# Remove temporal files
97
- self .tmp_files .append (self .stage_io_dict .get ("unique_dir" , "" ))
97
+ # self.tmp_files.append(self.stage_io_dict.get("unique_dir", ""))
98
98
self .remove_tmp_files ()
99
99
100
100
self .check_arguments (output_files_created = True , raise_exception = False )
@@ -118,6 +118,8 @@ def sort_gro_residues(
118
118
** kwargs ,
119
119
).launch ()
120
120
121
+ sort_gro_residues .__doc__ = SortGroResidues .__doc__
122
+
121
123
122
124
def main ():
123
125
"""Command line execution of this building block. Please check the command line documentation."""
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ def launch(self) -> int:
145
145
check_output_end (self .io_dict ["out" ]["output_structure_path" ], self .out_log )
146
146
147
147
# Remove temporal files
148
- self .tmp_files .append (self .stage_io_dict .get ("unique_dir" , "" ))
148
+ # self.tmp_files.append(self.stage_io_dict.get("unique_dir", ""))
149
149
self .remove_tmp_files ()
150
150
151
151
self .check_arguments (output_files_created = True , raise_exception = False )
@@ -169,6 +169,8 @@ def str_check_add_hydrogens(
169
169
** kwargs ,
170
170
).launch ()
171
171
172
+ str_check_add_hydrogens .__doc__ = StrCheckAddHydrogens .__doc__
173
+
172
174
173
175
def main ():
174
176
"""Command line execution of this building block. Please check the command line documentation."""
Original file line number Diff line number Diff line change @@ -151,7 +151,10 @@ def launch(self) -> int:
151
151
self .copy_to_host ()
152
152
153
153
# Remove temporal files
154
- self .tmp_files .extend ([self .stage_io_dict .get ("unique_dir" , "" ), tmp_folder ]) # type: ignore
154
+ self .tmp_files .extend ([
155
+ # self.stage_io_dict.get("unique_dir", ""),
156
+ tmp_folder
157
+ ])
155
158
self .remove_tmp_files ()
156
159
157
160
self .check_arguments (output_files_created = True , raise_exception = False )
@@ -175,6 +178,8 @@ def structure_check(
175
178
** kwargs ,
176
179
).launch ()
177
180
181
+ structure_check .__doc__ = StructureCheck .__doc__
182
+
178
183
179
184
def main ():
180
185
"""Command line execution of this building block. Please check the command line documentation."""
You can’t perform that action at this time.
0 commit comments