Skip to content

Commit

Permalink
Update to nanopub 1.55
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekSuchanek committed Jan 19, 2024
1 parent 38b88cd commit f64f991
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
Binary file removed bin/nanopub-1.36-jar-with-dependencies.jar
Binary file not shown.
Binary file added bin/nanopub-1.55-jar-with-dependencies.jar
Binary file not shown.
1 change: 0 additions & 1 deletion bin/np
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@ fi

>&2 echo "ERROR: Failed to find or download nanopub jar file."
exit 1

4 changes: 2 additions & 2 deletions nanopub_submitter/nanopub.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,10 @@ def _run_np_sign(ctx: NanopubProcessingContext) -> str:
ctx=ctx,
)
if exit_code != EXIT_SUCCESS:
LOG.warn(f'Failed to make TrustyURI ({exit_code}):\n{stdout}\n\n{stderr}')
LOG.warn(f'Failed to sign the nanopub ({exit_code}):\n{stdout}\n\n{stderr}')
raise NanopubProcessingError(
status_code=500,
message='Failed to make TrustyURI for nanopub.'
message='Failed to sign the nanopub.'
)
return ctx.signed_file

Expand Down

0 comments on commit f64f991

Please sign in to comment.