Mercurial > repos > bimib > cobraxy
diff COBRAxy/rps_generator.py @ 326:3dccdf56cb24 draft
Uploaded
author | francesco_lapi |
---|---|
date | Mon, 30 Jun 2025 11:07:55 +0000 |
parents | 7b8d9de81a86 |
children |
line wrap: on
line diff
--- a/COBRAxy/rps_generator.py Mon Jun 23 20:24:20 2025 +0000 +++ b/COBRAxy/rps_generator.py Mon Jun 30 11:07:55 2025 +0000 @@ -171,7 +171,7 @@ rps_scores = {} for reaction_name, substrates in reactions.items(): - total_contribution = 1 + total_contribution = 0 metab_significant = False for metabolite, stoichiometry in substrates.items(): abundance = 1 if math.isnan(abundances[metabolite]) else abundances[metabolite] @@ -255,4 +255,4 @@ print('Execution succeded') ############################################################################## -if __name__ == "__main__": main() \ No newline at end of file +if __name__ == "__main__": main()