ctn-archive / nengo_gui_2014

HTML5 graphical interface for Nengo -- now obsolete! Please use https://github.com/nengo/nengo_gui instead
Other
6 stars 0 forks source link

nengo_gui default directory #59

Open tcstewar opened 10 years ago

tcstewar commented 10 years ago

If you run nengo_gui with a command line argument of what script you want to work on, it'll default to loading that one up and saving into that same directory. If you just run it on its own, it defaults to the nengo_gui/scripts directory. Unfortunately, when we install nengo_gui, that directory won't necessarily be writeable. I'm not sure what we should do in this case.

tbekolay commented 10 years ago

The current directory is a pretty common thing to default to.

tcstewar commented 10 years ago

I worry a bit that "the current directory" isn't all that well defined if it's run by double-clicking on an icon. But if that defaults to some home directory or something on most operating systems, then that seems reasonable.

tcstewar commented 10 years ago

(a big part of this problem is that there's currently no way to change the directory. You can look into subdirectories, but there's no way in the gui to change where you're starting from.)

tbekolay commented 10 years ago

Ahhh right, I forgot this is GUI land, sorry. Home directory seems reasonable as a default!