segrelab / cometspy

Python interface for running COMETS simulations and analyzing the results
GNU General Public License v3.0
11 stars 9 forks source link

Add spaces in warning messages #27

Closed hgscott closed 1 year ago

hgscott commented 1 year ago

There were some warnings that were combining words when printed because there was no space between the words when the strings were added together, i.e.:

print('Warning: The added metabolite (' + met + ') is not' +
      'able to be taken up by any of the current models')

(https://github.com/segrelab/cometspy/blob/master/cometspy/layout.py#L828-829)

That specific line was mentioned in #25.

I found one other line that had a similar problem, and fixed that too.