Skip to content

Commit

Permalink
parse_parameters.py error to sterr, adding of -u -x to outer.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrennsteiner committed Nov 11, 2024
1 parent 5d98bc9 commit 2053939
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion misc/distributed_search/outer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Set behavior when errors are encountered
# # TODO: unresolved issues with failing on error due to library generation steps expecting AlphaDIA to fail since there are no rawfiles.
# set -e -u -x
set -u -x

# Default search parameters
nnodes=1
Expand Down
2 changes: 1 addition & 1 deletion misc/distributed_search/parse_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
if os.path.exists(args.library_path) and os.path.basename(args.library_path).endswith('.hdf'):
lib_source = args.library_path
else:
print("No valid library_path to a .hdf file provided and no valid library path to a .hdf file specified in config file, exiting...")
print("No valid library_path to a .hdf file provided and no valid library path to a .hdf file specified in config file, exiting...", file=sys.stderr)
sys.exit(1)

# copy library into chunk folder to avoid simultaneous reads of the same library
Expand Down

0 comments on commit 2053939

Please sign in to comment.