Skip to content

Commit

Permalink
fix for hsload - combine --fastlink with --linkpath (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
jreadey authored Oct 1, 2024
1 parent 0e432dd commit 93853f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h5pyd/_apps/hsload.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def main():
logging.basicConfig(filename=logfname, format='%(levelname)s %(asctime)s %(message)s', level=loglevel)
logging.debug(f"set log_level to {loglevel}")

if cfg["linkpath"] and not cfg["link"]:
if cfg["linkpath"] and not (cfg["link"] or cfg["fastlink"]):
abort("--linkpath option can only be used with --link")

if cfg["extend_offset"] and cfg["extend_dim"] is None:
Expand Down

0 comments on commit 93853f2

Please sign in to comment.