PySCeS / pysces

The official PySCeS project source code repository.
https://pysces.github.io
Other
34 stars 10 forks source link

model_dir as CWD #25

Closed jmrohwer closed 7 years ago

jmrohwer commented 7 years ago

With regards to issue #23 this pull request fixes two things:

  1. Setting silentstart = True now really does a silent start.
  2. The user can specify:
    model_dir = ./
    output_dir = ./

    in their .pys_usercfg.ini which will set the model and output directories to the directory to the current working directory. Likewise, the working directory is unchanged after importing pysces or loading a model. Tested under Linux and Windows. Should work on Mac OS X as well.

jmrohwer commented 7 years ago

Added another commit to fix disabling of output upon integration when mod.SetQuiet.

bgoli commented 7 years ago

Works for me, merge, delete and close this if you like. This might be a good time deal with anything else, otherwise I will start wrapping up a new release over the next few weeks.