Skip to content

Commit f386aec

Browse files
Update docstring of publish_as_nanopub
1 parent 84b1e0e commit f386aec

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

fairworkflows/fairworkflow.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,10 @@ def draw(self, filepath):
456456
def publish_as_nanopub(self, use_test_server=False, **kwargs):
457457
"""Publish to nanopub server.
458458
459-
First publish the steps, use the URIs of the published steps in the workflow. Then
460-
publish the workflow.
459+
Publish the workflow as nanopublication to the nanopub server.
460+
461+
Raises:
462+
RuntimeError: If one of the steps of the workflow was not published yet.
461463
462464
Args:
463465
use_test_server (bool): Toggle using the test nanopub server.

0 commit comments

Comments
 (0)