pyDataverse icon indicating copy to clipboard operation
pyDataverse copied to clipboard

Custom metadata not filled using pyDataverse

Open lincolnsherpa opened this issue 4 years ago • 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

lincolnsherpa avatar Mar 11 '21 16:03 lincolnsherpa

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.

skasberger avatar Mar 11 '21 20:03 skasberger

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 avatar Mar 12 '21 10:03 lincolnsherpa

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

skasberger avatar Mar 12 '21 11:03 skasberger

@skasberger sure

lincolnsherpa avatar Mar 12 '21 12:03 lincolnsherpa

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

pdurbin avatar Mar 04 '24 16:03 pdurbin