GUI File selector for read and save
Open
@alex-rakowski is already working on this.
Since May 17, 2023.
enhancement
- Dominant language
- Python
- Stars
- 279
- Forks
- 177
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
Loading/saving files could be easier for some users if they had a GUI to handle paths
Describe the solution you'd like
Pop up window that allows file navigation through system menu
Additional context
Basic code is something like
from tkinter import Tk
from tkinter.filedialog import askopenfilename, askopenfilenames, asksaveasfile
Tk().withdraw()
filename = askopenfilename()
I think the py4DSTEM.read() and py4DSTEM.save() functions should be altered so if called with no file path arguments it defaults to this method, rather than having an additional methods like ~ py4DSTEM.read_gui()
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.