Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

show <= 10 objects unless verbosity > 2 #1002

Merged
merged 1 commit into from
Sep 4, 2019
Merged

show <= 10 objects unless verbosity > 2 #1002

merged 1 commit into from
Sep 4, 2019

Conversation

stevengj
Copy link
Collaborator

@stevengj stevengj commented Aug 28, 2019

Now that we have a more fine-grained global verbosity (#994), this PR updates meepgeom to show ≤ 10 objects unless verbosity > 2.

Rationale: printing very long lists of objects as part of the logging output is not generally useful, and can lead to slow, awkward interactive notebooks in simulations with hundreds or thousands of objects. cc @WenjieYao, who has encountered this problem.

@stevengj stevengj merged commit 2a04ff0 into master Sep 4, 2019
@stevengj stevengj deleted the truncateshow branch September 4, 2019 01:08
@stevengj stevengj mentioned this pull request Sep 4, 2019
bencbartlett pushed a commit to bencbartlett/meep that referenced this pull request Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant