Skip to content

Improve launcer - #29

Merged
spiani merged 2 commits into
mainfrom
improve_launcer
Aug 1, 2026
Merged

spiani merged 2 commits into
mainfrom
improve_launcer

Conversation

@spiani

@spiani spiani commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@spiani
spiani requested a review from Copilot August 1, 2026 17:29
@spiani spiani self-assigned this Aug 1, 2026
@spiani
spiani merged commit 0eeb20c into main Aug 1, 2026
2 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR modernizes the project packaging metadata to PEP 621 ([project]) while keeping Poetry-specific settings, and updates the MER statics launcher script to support optional MER-format generation and additional outputs.

Changes:

  • Migrate pyproject.toml metadata/dependencies from [tool.poetry.*] to PEP 621 [project], and move the CLI entrypoint to [project.scripts].
  • Update launcers/all_statics/generate_mer_statics.sh output defaults, increase parallelism, introduce a MER_FORMAT toggle, and generate exf_albedo.txt.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
pyproject.toml Switches to PEP 621 project metadata/dependencies and defines the console script under [project.scripts].
launcers/all_statics/generate_mer_statics.sh Adds MER-format toggling logic, increases MAXJOBS, changes output dir, and generates EXF albedo output.
Suppressed comments (3)

launcers/all_statics/generate_mer_statics.sh:81

  • if ${MER_FORMAT}; then executes MER_FORMAT as a command; use a string comparison for a more robust boolean flag.
        if ${MER_FORMAT}; then

launcers/all_statics/generate_mer_statics.sh:88

  • if ${MER_FORMAT}; then executes MER_FORMAT as a command; use a string comparison so the script doesn’t error if MER_FORMAT is set to non-command values.
        if ${MER_FORMAT}; then

launcers/all_statics/generate_mer_statics.sh:70

  • if ${MER_FORMAT}; then executes MER_FORMAT as a command; prefer a string comparison so toggling this flag doesn’t depend on true/false being used exactly.
        if ${MER_FORMAT}; then

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +46 to +49
MER_FLAG=""
if ${MER_FORMAT}; then
MER_FLAG="--mer"
fi
@spiani
spiani deleted the improve_launcer branch August 3, 2026 10:22
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.

2 participants