Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetSystemMetadata method doesn't get replica information #302

Closed
taojing2002 opened this issue Apr 4, 2024 · 1 comment
Closed

GetSystemMetadata method doesn't get replica information #302

taojing2002 opened this issue Apr 4, 2024 · 1 comment

Comments

@taojing2002
Copy link

taojing2002 commented Apr 4, 2024

I used a piece of R code to get system metadata of an object which has the replicas.
The system metadata can be see from:
https://mn-sandbox-ucsb-1.test.dataone.org/knb/d1/mn/v2/meta/testReplicateJsonLD.1711738610440

pid <- "testReplicateJsonLD.1711738610440"
mn <- MNode("https://mn-sandbox-ucsb-1.test.dataone.org/knb/d1/mn/v2")
user <- "http://orcid.org/0000-0002-8916-564X"
sysmeta <- getSystemMetadata(mn, pid)

However, the replica section is missing from R even though it got the replication policy part:
Screen Shot 2024-04-04 at 10 24 00 AM
Screen Shot 2024-04-04 at 10 24 21 AM

@taojing2002
Copy link
Author

Move this ticket to:
ropensci/datapack#140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant