-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/main/python/org/broadinstitute/hellbender/gatktool/toolconstants.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
""" | ||
Constants that must remain in sync with the companion Java code in GATK. | ||
""" | ||
|
||
""" | ||
Command acknowledgement messages used to signal positive acknowledgement ('ack', | ||
negative acknowledgement ('nck'), and negative acknowledgement with an accompanying | ||
message ('nkm'). | ||
""" | ||
_ackString = "ack" | ||
_nackString = "nck" | ||
_nkmString = "nkm" | ||
|
||
|
||
""" | ||
The length of a message written with a negative ack (nkm) must be 4 bytes long when | ||
serialized as a string, and cannot have a value > 9999. | ||
""" | ||
_nckMessageLengthSerializedSize = 4 | ||
_nckMaxMessageLength = 9999 |