Skip to content

Commit

Permalink
Support image files for study organization and fix typo in node assay…
Browse files Browse the repository at this point in the history
…s. Thanks to @agbeltran
  • Loading branch information
chapmanb committed Jun 23, 2012
1 parent 836da59 commit 54ab6d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bcbio/isatab/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def __init__(self, base_file):
"node" : ("Sample Name", "Source Name", "Image File",
"Raw Data File", "Derived Data File"),
"node_assay" : ("Extract Name", "Labeled Extract Name",
"Assay Name", "Data Transformat Name",
"Assay Name", "Data Transformation Name",
"Normalization Name"),
"processing": ("Protocol REF",)}
self._synonyms = {"Array Data File" : "Raw Data File",
Expand All @@ -189,7 +189,8 @@ def parse(self, rec):
for assay in study.assays:
cur_assay = ISATabAssayRecord(assay)
assay_data = self._parse_study(assay["Study Assay File Name"],
["Raw Data File", "Derived Data File"])
["Raw Data File", "Derived Data File",
"Image File"])
cur_assay.nodes = assay_data
final_assays.append(cur_assay)
study.assays = final_assays
Expand Down

0 comments on commit 54ab6d9

Please sign in to comment.