Skip to content

object's full path should include zone name component #16

@d-w-moore

Description

@d-w-moore

Objects in the catalog are known and queried by logical path, ie the name,

ICAT=> select * from r_coll_main;
ICAT=> select coll_name from r_coll_main;
          coll_name          
-----------------------------
 /
 /tempZone
 /tempZone/home
 /tempZone/trash
 /tempZone/home/public
 /tempZone/trash/home/public
 /tempZone/trash/home/rods
 [...]

It seems, in keeping with this, that getting the path of a given collection,etc, via an iRODSFS should yield the same.
However, we see this instead:

>>> irfs = fs_irods.iRODSFS(s)
>>> for path,_,_ in irfs.walk(): print(path)
... 
/
/home
/trash
/home/alice
/home/public
/home/rods
/trash/home
/home/rods/dir
   [...]

The zone-named leading components of the paths are missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions