Status | ||||
---|---|---|---|---|
|
It is possible to upload data on Brainlife. Datasets can be public or private (it depends on the nature of the project it is linked to).
...
Code Block |
---|
$ singularity run docker://brainlife/cli login |
The result is:
...
Then, to run the BL command, you must write :For more details, see the BL documentation.
In order to upload a data object, Brainlife requires that you supply a project and datatype associated with it it:
get the ID of your project
Code Block $ singularity run docker://brainlife/cli project query --admin <admin>
get the ID of the datatype of your project
Code Block $ singularity run docker://brainlife/cli datatype
...
query --
...
query <datatype>
...
Once you get these two ID, you can upload your data. To do so, all that is required is a directory to upload, a project id, and a datatype id (but other options exist):
Code Block |
---|
$ singularity run docker://brainlife/cli bl <command> data upload --directory <path> --project <projectid> --datatype <datatypeid> |
Info |
---|
It can be heavy to always write |
Code Block |
---|
function bl {
singularity run docker://brainlife/cli $@
} |
...
For more details, see the BL documentation.
In order to upload a data object, Brainlife requires that you supply a project and datatype associated with it.