Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Messages silenced in write and graph. #526

Closed

Conversation

ptth222
Copy link

@ptth222 ptth222 commented Jan 30, 2024

There were 3 total logging calls that were clogging the output and appear to be leftover from some past debugging. They just print large lists of numbers and aren't really indicating anything to the user.

There were 3 total logging calls that were clogging the output and appear to be leftover from some past debugging. They just print large lists of numbers and aren't really indicating anything to the user.
@terazus
Copy link
Collaborator

terazus commented Feb 1, 2024

This build fails on a single test. The URL for the assertion needs to be readjusted:
image

@terazus terazus mentioned this pull request Feb 1, 2024
Copy link
Member

@proccaserra proccaserra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense

@@ -59,7 +59,7 @@ def flatten(current_list):
paths = _all_end_to_end_paths(
s_graph,
[x for x in s_graph.nodes() if isinstance(s_graph.indexes[x], Source)])
log.warning(s_graph.nodes())
# log.warning(s_graph.nodes())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No comments in production: please delete the commented lines instead (Same for the graph.py file)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just made another commit that deletes them instead. Are comments not allowed at all or just commenting out code? There are definitely comments throughout the code.

Copy link
Collaborator

@terazus terazus Mar 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ptth222 There are a LOT of comments (way too manu) through the code because of how people used to work. I never had time to prune everything from the source code but I'm trying to make sure we don't introduce more into prod.
Comments are allowed, not commented code.

Deleted the logging lines instead of commenting them out as requested.
@ptth222
Copy link
Author

ptth222 commented Mar 19, 2024

Incorporated in #551.

@ptth222 ptth222 closed this Mar 19, 2024
@ptth222 ptth222 deleted the suppress-superflous-logging branch March 20, 2024 22:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants