Skip to content

pySBOL Interaction does not support advertised argument #121

@rpgoldman

Description

@rpgoldman

I tried to construct an Interaction using the documented API, and got this error:

>>> inter = sbol.Interaction(types=["http://identifiers.org/biomodels.sbo/SBO:0000170"], name="BE stimulates r3_gRNA_Gene", \
    identity="https://hub.sd2e.org/user/sd2e/design/beta_estradiol_stimulates_r3_gRNA/1", displayId="beta_estradiol_stimulates_r3_gRNA") 
... Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
TypeError: __init__() got an unexpected keyword argument 'types'
>>> 

I tried a few modifications, treating the URI (identity) and types as positional, instead of keyword, but no dice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions