gdcc/pyDataverse

Custom metadata not filled using pyDataverse

Opened this issue · 5 comments

Hi everyone,
I have made a Custom metadata.
All its fields are filled with ease via curl command in dataverse,(with json file) as described in manual.
But when the same json file is used in pydataverse, then only default metadata are filled.

Note I am using
ds=Dataset()
ds_filename="test.json"
ds.from_json(read_file(ds_filename))

If we do "ds.get()" to check the fields being associated then, we will see only the default metadata and its field filled.

Request you to please assist me in this.

Regards
Lincoln Sherpa

As mentioned on IRC, custom metadata do not work with pyDataverse. Will link it to the related issue #102, to add it in the future.

Another small info regarding Pydataverse,
-While uploading datafile, the file-type is not recognised ( it is by default text/plain). Even if contentType field is assigned using set command the contentType again goes to default
-While creating Dataverse it would be also awesome to fill in "storageDriveLevel" right now it is default.

@lincolnsherpa Thanks for the input! Can you please create two seperate issues for the mentioned features, so it is not conflicting with this one.?

As discussed during the 2024-02-14 meeting of the pyDataverse working group, we are closing old milestones in favor of a new project board at https://github.com/orgs/gdcc/projects/1 and removing issues (like this one) from those old milestones. Please feel free to join the working group! You can find us at https://py.gdcc.io and https://dataverse.zulipchat.com/#narrow/stream/377090-python