Skip to content

Commit

Permalink
nth -> n-th
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Feb 29, 2024
1 parent 3dffcc7 commit 06e6b0f
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion bioimageio/spec/application/v0_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ class LinkedApplication(Node):
"""A valid application `id` from the bioimage.io collection."""

version_nr: Optional[int] = None
"""version number (nth published version, not the semantic version) of linked application"""
"""version number (n-th published version, not the semantic version) of linked application"""
2 changes: 1 addition & 1 deletion bioimageio/spec/application/v0_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ class LinkedApplication(Node):
"""A valid application `id` from the bioimage.io collection."""

version_nr: int
"""version number (nth published version, not the semantic version) of linked application"""
"""version number (n-th published version, not the semantic version) of linked application"""
2 changes: 1 addition & 1 deletion bioimageio/spec/collection/v0_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,4 +236,4 @@ class LinkedCollection(Node):
"""A valid collection `id` from the bioimage.io collection."""

version_nr: Optional[int] = None
"""version number (nth published version, not the semantic version) of linked collection"""
"""version number (n-th published version, not the semantic version) of linked collection"""
2 changes: 1 addition & 1 deletion bioimageio/spec/collection/v0_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,4 +273,4 @@ class LinkedCollection(Node):
"""A valid collection `id` from the bioimage.io collection."""

version_nr: int
"""version number (nth published version, not the semantic version) of linked collection"""
"""version number (n-th published version, not the semantic version) of linked collection"""
2 changes: 1 addition & 1 deletion bioimageio/spec/dataset/v0_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ class LinkedDataset(Node):
"""A valid dataset `id` from the bioimage.io collection."""

version_nr: Optional[int] = None
"""version number (nth published version, not the semantic version) of linked dataset"""
"""version number (n-th published version, not the semantic version) of linked dataset"""
2 changes: 1 addition & 1 deletion bioimageio/spec/dataset/v0_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ class LinkedDataset(Node):
"""A valid dataset `id` from the bioimage.io collection."""

version_nr: int
"""version number (nth published version, not the semantic version) of linked dataset"""
"""version number (n-th published version, not the semantic version) of linked dataset"""
4 changes: 2 additions & 2 deletions bioimageio/spec/generic/v0_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class LinkedResource(Node):
"""A valid resource `id` from the bioimage.io collection."""

version_nr: Optional[int] = None
"""version number (nth published version, not the semantic version) of linked resource"""
"""version number (n-th published version, not the semantic version) of linked resource"""


class GenericModelDescrBase(ResourceDescrBase):
Expand Down Expand Up @@ -338,7 +338,7 @@ def warn_about_tag_categories(
"""The version of the resource following SemVer 2.0."""

version_nr: Optional[int] = None
"""version number (nth published version, not the semantic version)"""
"""version number (n-th published version, not the semantic version)"""


class GenericDescrBase(GenericModelDescrBase):
Expand Down
4 changes: 2 additions & 2 deletions bioimageio/spec/generic/v0_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class LinkedResource(Node):
"""A valid resource `id` from the official bioimage.io collection."""

version_nr: int
"""version number (nth published version, not the semantic version) of linked resource"""
"""version number (n-th published version, not the semantic version) of linked resource"""


class GenericModelDescrBase(ResourceDescrBase):
Expand Down Expand Up @@ -328,7 +328,7 @@ def warn_about_tag_categories(
"""The version of the resource following SemVer 2.0."""

version_nr: Optional[int] = None
"""version number (nth published version, not the semantic version)"""
"""version number (n-th published version, not the semantic version)"""


class GenericDescrBase(GenericModelDescrBase):
Expand Down
2 changes: 1 addition & 1 deletion bioimageio/spec/model/v0_4.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ class LinkedModel(Node):
"""A valid model `id` from the bioimage.io collection."""

version_nr: Optional[int] = None
"""version number (nth published version, not the semantic version) of linked model"""
"""version number (n-th published version, not the semantic version) of linked model"""


class ModelDescr(GenericModelDescrBase, title="bioimage.io model specification"):
Expand Down
2 changes: 1 addition & 1 deletion bioimageio/spec/model/v0_5.py
Original file line number Diff line number Diff line change
Expand Up @@ -1646,7 +1646,7 @@ class LinkedModel(Node):
"""A valid model `id` from the bioimage.io collection."""

version_nr: int
"""version number (nth published version, not the semantic version) of linked model"""
"""version number (n-th published version, not the semantic version) of linked model"""


class ModelDescr(GenericModelDescrBase, title="bioimage.io model specification"):
Expand Down
2 changes: 1 addition & 1 deletion bioimageio/spec/notebook/v0_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ class LinkedNotebook(Node):
"""A valid notebook `id` from the bioimage.io collection."""

version_nr: Optional[int] = None
"""version number (nth published version, not the semantic version) of linked notebook"""
"""version number (n-th published version, not the semantic version) of linked notebook"""
2 changes: 1 addition & 1 deletion bioimageio/spec/notebook/v0_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ class LinkedNotebook(Node):
"""A valid notebook `id` from the bioimage.io collection."""

version_nr: int
"""version number (nth published version, not the semantic version) of linked notebook"""
"""version number (n-th published version, not the semantic version) of linked notebook"""

0 comments on commit 06e6b0f

Please sign in to comment.