Repository navigation
studio: full run ids for analyse(), version lines in English, current… - #9
Merged
Merged
Conversation
… keys in examples - The Analysis tab passes analyse() the full id of each run (the signac job id, whose directory is workspace/<id>/) instead of its first 8 characters, which did not name any directory. summary() gives it as job_id next to the short id (MCP tools unchanged). The template of analysis.py shows the first 8 characters, as the table. - The "# [canoP studio]" version lines at the top of the input file of a run are in English whatever the language of the studio (file contents do not depend on it); the origin of the version of canoP stays in French in the job documents and is written in English in the lines. - New campaign and the create_campaign MCP tool: examples with simulation.cfl and amr.max_refine instead of the old hydro.cfl and amr.level_max. - Tutorial: analyse() receives the id of the run; its analysis.py still accepts the start of it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three small fixes of canoP studio found while writing the tutorial (#3).
Full run ids for
analyse()The Analysis tab passed
analyse(points, x, y)the first 8 characters of each run id, so ananalysis.pycould not find the directory of a run withworkspace/<id>/. It now gets the fullsignac job id.
summary()gives it asjob_idnext to the shortid(the MCP tools areunchanged). The template of
analysis.pyshows the first 8 characters, as the table.Existing campaigns keep their own copy of the template: their panel will show the full ids. Code
that matched the short id as a prefix (glob,
open_job) keeps working.Version lines in English
The
# [canoP studio]lines at the top of the input file of a run were in French. They are nowin English whatever the language of the studio, so file contents do not depend on it. The origin
of the version of canoP stays in French in the job documents (the interface translates it) and is
written in English in these lines.
Current keys in the examples
The example of New campaign and the description of the MCP tool
create_campaignusedhydro.cflandamr.level_max, which no longer exist: they usesimulation.cflandamr.max_refine.Checks
CANOP_STUDIO_CONFIG):summary()/collect()ona signac project, the ids given to
analyse()name the run directories, the template and thetutorial's
analysis.pywith full and short ids, the version lines and their replacement.check_i18n.py: 322 texts, 0 errors. Sphinx-W: only the missing Doxygen on this machine.🤖 Generated with Claude Code