Skip to content

Commit

Permalink
BUG: store data in correct path
Browse files Browse the repository at this point in the history
  • Loading branch information
pfuid authored and DavidLP committed Sep 19, 2017
1 parent 422fc3e commit 69544e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions testbeam_analysis/tools/analysis_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1002,8 +1002,9 @@ def download_scibo(public_secret, path, filename):

if not output:
output = os.path.basename(path)

output_path = os.path.dirname(os.path.realpath(path))
output_path = os.path.dirname(os.path.realpath(path))
else:
output_path = os.path.dirname(os.path.realpath(output))

if not os.path.isfile(os.path.join(output_path, output)):
# Create output folder
Expand Down

0 comments on commit 69544e8

Please sign in to comment.