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

Compute node count from a single pass over the JSON log file, eliminating the need for separate 'nodes' file. #5746

Merged
merged 2 commits into from
Oct 19, 2023

Conversation

lemmy
Copy link
Contributor

@lemmy lemmy commented Oct 18, 2023

Adopted ("stolen") from @joshuazh-x trace specification. :-)

@lemmy lemmy requested a review from a team as a code owner October 18, 2023 17:26
@lemmy lemmy added the tla TLA+ specifications label Oct 18, 2023
@lemmy lemmy enabled auto-merge (squash) October 18, 2023 17:27
@ccf-bot

This comment was marked as off-topic.

@lemmy
Copy link
Contributor Author

lemmy commented Oct 18, 2023

If this PR causes no regressions, I will force-push a commit to remove the generation of the .nodes files:

with open(
f"{os.path.basename(scenario)}.ndjson.nodes", "w", encoding="utf-8"
) as f:
f.write(str(max_nodes))

@lemmy lemmy force-pushed the mku-nodesfiles branch 3 times, most recently from b990cc1 to 884b370 Compare October 18, 2023 18:36
@lemmy lemmy merged commit bcb0613 into main Oct 19, 2023
31 checks passed
@lemmy lemmy deleted the mku-nodesfiles branch October 19, 2023 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tla TLA+ specifications
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants