From d9fd3b9f733a555286f5dc63c2a072cf76f2f15f Mon Sep 17 00:00:00 2001 From: Jan Siwiec <jan.siwiec@vsb.cz> Date: Thu, 6 Oct 2022 12:34:21 +0200 Subject: [PATCH] Update dice.md --- docs.it4i/dice.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/docs.it4i/dice.md b/docs.it4i/dice.md index 0b29fc5d4..7ffdfbfcd 100644 --- a/docs.it4i/dice.md +++ b/docs.it4i/dice.md @@ -323,17 +323,19 @@ ls -la ~ For more commands, use the `ihelp` command. - ## PID Services -You, as user, may want to index your datasets and allocate some PIDs - Persistent Identifiers for them. We host pid system by hdl-surfsara ( https://it4i-handle.it4i.cz ), wich is conected to https://hdl.handle.net , and you are able to create your own PID by calling some of irule. +You, as user, may want to index your datasets and allocate some PIDs - Persistent Identifiers for them. We host pid system by hdl-surfsara ( https://it4i-handle.it4i.cz ), wich is conected to https://hdl.handle.net , and you are able to create your own PID by calling some of irule. ### How to Create PID -Pids are created by calling `irule`, you have to create at your $HOME or everewhere you want, but you have to specify path correctly. -rules for pid operations have always .r suffix . It can by done only throught `iCommands` +Pids are created by calling `irule`, you have to create at your `$HOME` or everewhere you want, +but you have to specify the path correctly. +Rules for pid operations have always `.r suffix`. +It can by done only through `iCommands`. + +Example of a rule for PID creating only: -example of rule for PID creating only ```console user in ~ λ pwd /home/user @@ -356,7 +358,8 @@ OUTPUT ruleExecOut user in ~ λ irule -F create_pid.r PID: 21.12149/f3b9b1a5-7b4d-4fff-bfb7-826676f6fe14 ``` -After creation, your PID is worldwidely searchable + +After creation, your PID is worldwidely searchable:   @@ -365,9 +368,10 @@ After creation, your PID is worldwidely searchable ### Metadata -For adding metadata to you collection/dataset, you can use imeta from iCommands +For adding metadata to you collection/dataset, you can use imeta from iCommands. + +This is after PID creation: -this is after PID creation ```console user in ~ λ imeta ls -C /IT4I/home/user/Collection_A AVUs defined for collection /IT4I/home/user/Collection_A: @@ -380,7 +384,8 @@ value: 21.12149/f3b9b1a5-7b4d-4fff-bfb7-826676f6fe14 units: ``` -For adding any other metadata you can use : +For adding any other metadata you can use: + ```console user in ~ λ imeta add -C /IT4I/home/user/Collection_A EUDAT_B2SHARE_TITLE Some_Title @@ -399,7 +404,6 @@ value: Some_Title units: ``` - [1]: irods.cyberduckprofile [2]: irods_environment.json [3]: config.yml -- GitLab