Skip to content

Commit

Permalink
document "PACKMOL_GUI" option
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiq committed Nov 12, 2024
1 parent e614c0f commit 0d4c795
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ julia> import Pkg; Pkg.activate("Packmol"; shared=true); Pkg.update()

(or type `] activate @Packmol` and then `] up`, at the `julia>` prompt).

Additionally, it is possible to disable the loading of the file-dialog machinery
by setting the system environment variable `PACKMOL_GUI="false"`. This might be
important to run packmol through this interface in computers without a GUI.






4 changes: 3 additions & 1 deletion src/packmol_runner.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ pre-compiled binary. The input file is a text file with the same syntax as
the packmol input files.
If no input file is provided, a file explorer will be opened to choose the
input file.
input file.
To disable the file explorer, set the environment variable `PACKMOL_GUI="false"`.
"""
function run_packmol end
Expand Down

2 comments on commit 0d4c795

@lmiq
Copy link
Member Author

@lmiq lmiq commented on 0d4c795 Nov 12, 2024

Choose a reason for hiding this comment

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

@JuliaRegistrator register

Release notes:

  • Add the possibility of disabling the GUI with the environment variable PACKMOL_GUI="false".

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/119283

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.11 -m "<description of version>" 0d4c79590fc29786b19583d186cf7280ddae3d05
git push origin v0.1.11

Please sign in to comment.