nfdi4plants / ARCCommander

Tool to manage your ARCs
MIT License
11 stars 9 forks source link

[BUG] (person) update not working properly #54

Closed Brilator closed 3 years ago

Brilator commented 3 years ago

Describe the bug Updating info via CLI does not work for me.

To Reproduce Steps to reproduce the behavior:

  1. arc i person register -f "An" -m "other" -l "person" --roles "MSc"
  2. arc i person update -f "An" -m "other" -l "person" --roles "PhD"
  3. Error:
    ...
    Start Person Update
    Person with the name An other person does not exist in the investigation
    Done processing command

OS and framework information (please complete the following information):

Brilator commented 3 years ago

This is specific to person, as the following works:

arc s add --identifier SomeStudy --submissiondate "tomorrow"
arc s update --identifier SomeStudy --submissiondate "some time in the far future"
arc a add -s SomeStudy -a SomeAssay --measurementtype RNASeq
arc a update -s SomeStudy -a SomeAssay --measurementtype mRNASeq
HLWeil commented 3 years ago

I identified the faulty line

The same error exists in the study contacts update command

Will be fixed in the next bug-fix round