Skip to content

Commit

Permalink
name the warning
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgigante committed Mar 16, 2019
1 parent d95232a commit d5a3d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scprep/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

def _quiet_rwarning(message, category, *args, **kwargs):
if category == rpy2.rinterface.RRuntimeWarning:
return str(message) + '\n'
return 'RRuntimeWarning: ' + str(message) + '\n'
else:
return _formatwarning(message, category, *args, **kwargs)

Expand Down

0 comments on commit d5a3d4e

Please sign in to comment.