diff --git a/client/cli/bam.py b/client/cli/bam.py index 3bd472a..785ea5d 100755 --- a/client/cli/bam.py +++ b/client/cli/bam.py @@ -230,7 +230,7 @@ class bam_session: paths_add[fn_rel] = fn_abs # TESTING ONLY - fn_abs_remote = os.path.join("pro", fn_rel) + fn_abs_remote = fn_rel paths_remap_subset_add[fn_rel] = fn_abs_remote @@ -357,8 +357,7 @@ class bam_commands: ID_PAYLOAD = 2 head = r.raw.read(4) if head != b'BAM\0': - print("Bad header...") - return + fatal("bad header from server") while True: msg_type, msg_size = struct.unpack("