Skip to content

Commit

Permalink
YDA-5790: add missing iRODS context
Browse files Browse the repository at this point in the history
  • Loading branch information
lwesterhof committed Jul 12, 2024
1 parent 92aa3c2 commit e4a022c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/modify-data-object.r
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def calculate_chksum(resc_name, data_path, callback):
:returns: SHA256 checksum
"""
try:
chksum_output = wrap_msi_file_checksum(data_path, resc_name, '')
chksum_output = callback.wrap_msi_file_checksum(data_path, resc_name, '')
chksum = chksum_output['arguments'][2]
except RuntimeError as e:
callback.writeLine("stdout", "msi_file_checksum failed on path '{}' with error - '{}'".format(data_path, errorcode(e)))
Expand Down
2 changes: 1 addition & 1 deletion uuFunctions.r
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ wrap_msi_file_checksum(*file, *resc, *sum) {
writeLine("serverLog","Could not find resource location for *resc when invoking file checksum microservice. Resource probably does not exist.");
} else {
remote(*host, "null") {
*result = errorcode(msi.file_checksum(*file, *resc, *sum));
*result = errorcode(msi_file_checksum(*file, *resc, *sum));
}
}
*result;
Expand Down

0 comments on commit e4a022c

Please sign in to comment.