Uploaded image for project: 'Synapse Python Client'
  1. SYNPY-978

creating folder from command line prompts warning - suggested method gives error

    Details

    • Type: Bug
    • Status: Open (View workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: py-1.9.2
    • Fix versions: None
    • Components: Command Line Client
    • Labels:
    • Environment:

      Fedora Linux

      Description

      I did:

      (synapsemaster) [kdaily@tigger ~]$ synapse create Folder --parentId syn19046077 --name "rnaSeq"
      [WARNING] /home/kdaily/.virtualenvs/synapsemaster/lib/python3.7/site-packages/synapseclient/__main__.py:302: DeprecationWarning: Call to deprecated method createEntity. (This
       will be removed in 2.0. Please use store() instead.) -- Deprecated since version 1.9.0.
        entity = syn.createEntity(entity)
      
      Created entity: syn19046090     rnaSeq
      

      So then I tried:

      (synapsemaster) [kdaily@tigger ~]$ synapse store --type Folder --parentId syn19046077 --name "ATACseq"
      usage: synapse store [-h] (--parentid syn123 | --id syn123 | --type TYPE)
                           [--name NAME] 
                           [--description DESCRIPTION | --descriptionFile DESCRIPTION_FILE_PATH]
                           [--used [target [target ...]]]
                           [--executed [target [target ...]]] [--limitSearch projId]
                           [--annotations ANNOTATIONS] [--replace]
                           [FILE]
      synapse store: error: argument --parentid/--parentId/-parentid/-parentId: not allowed with argument --type
      

        Designs

          Attachments

            Activity

              People

              • Assignee:
                kimyen Kimyen Truong
                Reporter:
                kenneth.daily Kenneth Daily
                Validator:
                Bruce Hoff
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: