changes to copying file from irods to temp dir
@@ -284,6 +284,7 @@ def get_file_from_irods(res_file, temp_dir=None):
# TODO: If collisions occur, really bad things happen.
# TODO: Directories are never cleaned up when unused. need cache management.
+ if temp_dir is None:
try:
os.makedirs(tmpdir)
except OSError as ex:
