def test_serialize_file(self): p = Pipeline.from_functions(['enrich_protein_and_rna_origins']) sio = StringIO() p.dump(sio) sio.seek(0) p_reconstituted = Pipeline.load(sio) self.assertEqual(p.protocol, p_reconstituted.protocol)
def test_serialize_file(self): p = Pipeline.from_functions(['infer_central_dogma']) sio = StringIO() p.dump(sio) sio.seek(0) p_reconstituted = Pipeline.load(sio) self.assertEqual(p.protocol, p_reconstituted.protocol)