Skip to content

Commit

Permalink
reset old value following the change to constants.py
Browse files Browse the repository at this point in the history
  • Loading branch information
proccaserra committed Feb 23, 2024
1 parent aac5dc3 commit a3badef
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/isatab/test_isatab.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ def test_isatab_dump_source_sample_split(self):
f = StudyFactor(name="treatment['modality']", factor_type=OntologyAnnotation(term="treatment[modality]"))
f.comments.append(Comment(name="Study Start Date", value="Moon"))
s.factors.append(f)
print("Factors: ", f)

reference_descriptor_category = OntologyAnnotation(term='reference descriptor')
material_type_category = OntologyAnnotation(term='Material Type')
Expand Down Expand Up @@ -971,7 +970,7 @@ def test_isatab_load_bii_i_1(self):
self.assertEqual(len(assay_transcriptome.samples), 48) # 48 assay samples in a_transcriptome.txt
self.assertEqual(len(assay_transcriptome.other_material), 96) # 96 other materials in a_transcriptome.txt
self.assertEqual(len(assay_transcriptome.data_files), 49) # 49 data files in a_transcriptome.txt
self.assertEqual(len(assay_transcriptome.process_sequence), 194) # 194 processes in in a_transcriptome.txt
self.assertEqual(len(assay_transcriptome.process_sequence), 193) # 193 processes in in a_transcriptome.txt

study_bii_s_2 = [s for s in ISA.studies if s.filename == 's_BII-S-2.txt'][0]

Expand All @@ -987,7 +986,7 @@ def test_isatab_load_bii_i_1(self):
self.assertEqual(len(assay_microarray.samples), 2) # 2 assay samples in a_microarray.txt
self.assertEqual(len(assay_microarray.other_material), 28) # 28 other materials in a_microarray.txt
self.assertEqual(len(assay_microarray.data_files), 15) # 15 data files in a_microarray.txt
self.assertEqual(len(assay_microarray.process_sequence), 46) # 46 processes in in a_microarray.txt
self.assertEqual(len(assay_microarray.process_sequence), 45) # 45 processes in in a_microarray.txt

def test_isatab_load_bii_s_3(self):
with open(os.path.join(self._tab_data_dir, 'BII-S-3', 'i_gilbert.txt')) as fp:
Expand Down

0 comments on commit a3badef

Please sign in to comment.