We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18bca2d commit 4d48e66Copy full SHA for 4d48e66
1 file changed
tiny/rna/resume.py
@@ -117,7 +117,8 @@ def _add_timestamps(self, steps):
117
# Override
118
def get_outfile_path(self, infile: str = None) -> str:
119
if infile is None: infile = self.inf
120
- return "resume_" + os.path.basename(infile)
+ root, ext = os.path.splitext(os.path.basename(infile))
121
+ return '_'.join(["resume", root, self.dt]) + ext
122
123
def write_workflow(self, workflow_outfile: str) -> None:
124
with open(workflow_outfile, "w") as wf:
0 commit comments