Skip to content
Snippets Groups Projects
Commit bc3c0965 authored by Aurore Dupuis's avatar Aurore Dupuis
Browse files

Merge branch '59-path_out-is-not-created-when-path_tmp-is-set-out-of-path_out' into 'release-1.6'

Resolve "Path_out is not created when path_tmp is set (out of path_out)"

See merge request !38
parents 3a37f7b3 474a982e
No related branches found
No related tags found
2 merge requests!39Release 1.6 - Patch 1,!38Resolve "Path_out is not created when path_tmp is set (out of path_out)"
......@@ -87,6 +87,9 @@ def main(argv):
processing_id = str(tile_id + "_" + datetime_to_str(date_start) + "_" + datetime_to_str(date_stop))
path_out = op.join(output_dir, processing_id)
if not os.path.exists(path_out):
logging.info("Create directory {} ...".format(path_out))
os.makedirs(path_out)
logging.debug("Path_out is: {}", path_out)
path_tmp = str(params.get("path_tmp", os.path.join(path_out,"tmp")))
......
......@@ -20,4 +20,4 @@
# limitations under the License.
#
VERSION = "1.6"
VERSION = "1.6.1"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment