Skip to content

Commit

Permalink
Merge pull request #165 from mcneilco/DISCO-1468
Browse files Browse the repository at this point in the history
Add ls_kinds property to experiment object
  • Loading branch information
brianbolt authored Aug 1, 2024
2 parents e40d9ba + 8a51952 commit 4bff62b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions acasclient/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,15 @@ def protocol_name(self) -> str:
label_kind="protocol name")
return protocol_name["labelText"]

@property
def result_kinds(self) -> list:
data = get_entity_values_by_state_type_kind_value_type(
entity=self,
state_type="metadata",
state_kind="data column order",
value_type="codeValue")
return [d['codeValue'] for d in data if d['codeKind'] == 'column name']

@property
def project(self) -> None:
prj = get_entity_value_by_state_type_kind_value_type_kind(
Expand Down

0 comments on commit 4bff62b

Please sign in to comment.