Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Menu command to run GSAS-II scripts #311

Copy link
Copy link

Description

@briantoby
Issue body actions

It would be nice to have a mechanism where one could launch a GSASIIscriptable script from the GUI. This would allow users to create their own extended functionality and integrate that into GSAS-II operation.

I am imagining that one could pass in a .gpx file either as a command-line argument or via an environment variable. The file would need to be saved before calling the script and reloaded afterwards.

The other thing that I am not sure how to handle is making sure the usual import statements would still work so that the script can be launched either directly from Python or from inside GSAS-II.

Another thought here is that one could have a mechanism to detect such scripts and then place commands into a the menu as a way to customize GSAS-II with external scripts.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Scriptingenhancement/bug for GSASIIscriptableenhancement/bug for GSASIIscriptableenhancementNew feature or requestNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

Morty Proxy This is a proxified and sanitized view of the page, visit original site.