Skip to content

Commit

Permalink
Use absolute paths
Browse files Browse the repository at this point in the history
  • Loading branch information
rafelafrance committed Feb 9, 2019
1 parent c58944e commit 1290f6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/assemblers/base.py
@@ -1,6 +1,6 @@
"""Base class for the various assembler wrappers."""

from os.path import basename, exists, getsize, join, splitext # , abspath
from os.path import basename, exists, getsize, join, splitext, abspath
import datetime
from subprocess import CalledProcessError
import lib.db as db
Expand Down Expand Up @@ -60,8 +60,8 @@ def file_prefix(self):
def iter_file(self, file_name):
"""Put files into the temp dir."""
rel_path = join(self.state['iter_dir'], file_name)
return rel_path
# return abspath(rel_path)
# return rel_path
return abspath(rel_path)

def work_path(self):
"""Assembler output directory name may have unique requirements."""
Expand Down

0 comments on commit 1290f6a

Please sign in to comment.