Getting data object and collection renaming to work#3
Getting data object and collection renaming to work#3nickeddy wants to merge 2 commits intoiPlantCollaborativeOpenSource:masterfrom
Conversation
There was a problem hiding this comment.
Need a way to get connection information... wasn't entirely sure how to grab the irods.connection.Connection from the DataObjectManager.
|
@nickeddy, thanks for working on this! I've tried before to get copying/renaming working and I gave it a rest because of similar complications. I took your code and made a new branch called Unfortunately, this implementation is equally wrong. I still get a SYS_PACK_INSTRUCT_FORMAT_ERR Exception returned. I'll look into this later this week, but I thought maybe seeing the changes on that branch might help in the meantime. |
|
This is awesome! 👍 |
Tried to set up a connection and do a data_object.rename('new_filename'), but ran in to this:
Most likely how I'm implementing things in irods.message, though here's the structs for the irods rename protocol:
Hopefully I've gotten this started on the right track to get renaming working.