Git Product home page Git Product logo

Comments (9)

luukvisser avatar luukvisser commented on July 21, 2024

I will take a look. I think I know what's going wrong, just by reading your comment; I had this issue once as well.

Edit: Can't run differentialPhotometry.py atm, see the new issue threads.

from oscaar.

luukvisser avatar luukvisser commented on July 21, 2024

Btw: If you didn't change it, and you have matplotlib v 1.0.0 or higher, plt.ion() is on for plt.* by default. For me if I use it again, together with plt.show(), I get frozen windows and all of weird things.

from oscaar.

bmorris3 avatar bmorris3 commented on July 21, 2024

@dmgaldi : could you please turn off the part of the OSCAAR GUI that keeps open the "loading please wait" display, and have the gui.py script terminate wxPython windows once the differentialPhotometry.py script has been triggered?

I think wxPython and matplotlib aren't playing nice together. If it turns out that this is indeed the problem, I will go ahead and create the matplotlib-based status bar that I talked about.

from oscaar.

dmgaldi avatar dmgaldi commented on July 21, 2024

Brett,

Okay, it should be taken care of.

-Dan

On Mon, Mar 4, 2013 at 11:58 PM, Brett Morris [email protected]:

@dmgaldi https://github.com/dmgaldi : could you please turn off the
part of the OSCAAR GUI that keeps open the "loading please wait" display,
and have the gui.py script terminate wxPython windows once the
differentialPhotometry.py script has been triggered?

I think wxPython and matplotlib aren't playing nice together. If it turns
out that this is indeed the problem, I will go ahead and create the
matplotlib-based status bar that I talked about.


Reply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-14423569
.

from oscaar.

bmorris3 avatar bmorris3 commented on July 21, 2024

In my last commit I fixed the problem. I had been having issues on my machine because the "homeDir()" method used the string "\\" as the splitting point in the path to get to the main oscaar directory. Does anyone's computer use that (@dmgaldi)? For me, the path's dirs are separated by "/" ( ie /usr/bin, not \\usr\\bin). I've changed the "homeDir()" method accordingly.

from oscaar.

bmorris3 avatar bmorris3 commented on July 21, 2024

My 2 minutes of Wikipedia-ing [path formats turned up this](http://en.wikipedia.org/wiki/Path_(computing\)). It looks like we should safely be able to assume that / is the appropriate character for path splitting.

from oscaar.

dmgaldi avatar dmgaldi commented on July 21, 2024

Brett,

I'm currently working on windows and os.getcwd() returns directory names
separated by "". I thought this was a windows thing so I thought I put a
sys.platform check. When I'm in Linux they are separated by "/". We should
get Sam to try it on his windows machine.

-Dan

On Tue, Mar 5, 2013 at 10:39 AM, Brett Morris [email protected]:

In my last commit I fixed the problem. I had been having issues on my
machine because the "homeDir()" method used the string "" as the
splitting point in the path to get to the main oscaar directory. Does
anyone's computer use that (@dmgaldi https://github.com/dmgaldi)? For
me, the path's are separated by "/". I've changed the "homeDir()" method
accordingly.


Reply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-14446101
.

from oscaar.

bmorris3 avatar bmorris3 commented on July 21, 2024

@SamTheGeek : you've been summoned.

from oscaar.

bmorris3 avatar bmorris3 commented on July 21, 2024

@SamTheGeek : Never mind.
@dmgaldi : I've found a solution. The os.sep command returns the string that is used as the separator between path components on a given machine. Change the "\\" or "/" that we've been fighting over to os.sep and it will work.

from oscaar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.