Skip to content

Commit

Permalink
Fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
qubixes committed Nov 29, 2024
1 parent 1a43ba7 commit 933eddb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ibridges/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ def main() -> None: #pylint: disable=too-many-branches
ibridges_setup()
elif subcommand == "search":
ibridges_search()
elif subcommand in ["meta", "meta-show"]:
ibridges_meta_show()
elif subcommand in ["meta", "meta-list"]:
ibridges_meta_list()
elif subcommand == "meta-add":
ibridges_meta_add()
elif subcommand == "meta-del":
Expand Down Expand Up @@ -368,10 +368,10 @@ def ibridges_list():
_list_coll(session, ipath, args.metadata)


def ibridges_meta_show():
def ibridges_meta_list():
"""List metadata of a a collection on iRODS."""
parser = argparse.ArgumentParser(
prog="ibridges meta-show", description="List a collection on iRODS."
prog="ibridges meta-list", description="List a collection on iRODS."
)
parser.add_argument(
"remote_path",
Expand Down
2 changes: 2 additions & 0 deletions ibridges/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,8 @@ def _get_data_objects(
Session to get the data objects with.
coll : irods.collection.iRODSCollection
The collection to search for all data objects
depth:
Depth of the data object search, only used for depth==1.
Returns
-------
Expand Down

0 comments on commit 933eddb

Please sign in to comment.