next release without c13 support

36 views
Skip to first unread message

Christophe Morisset

unread,
Jul 2, 2020, 8:59:06 PM7/2/20
to pyCloudy
Dear pyCloudy users,

The next release of pyCloudy will include some changes in the way cloudy.exe is run from the python script, to obtain a compatibility with Windows 10 operating system. This implies that the calling sequence will use the option -p of cloudy.exe, which has been included starting with version c17. The consequences is that pyCloudy will not offer anymore service to run cloudy.exe for version 13 or lower. The writing of input files and reading of output files are still possible.

Is there anybody here who is still using c13 version of Cloudy? In this case better not update to the next version.

Best regards,
Christophe

Christophe Morisset

unread,
Jul 3, 2020, 3:32:41 PM7/3/20
to pyCloudy
I just released pyCloudy 0.9.10, which is supposed to be Windows compatible, but not c13-Cloudy compatible anymore.

It is installed with the classical:

pip install pyCloudy


The comments on this new realease are:
This release now uses Path in the way Cloudy is run. The command sent to subprocess is not anymore e.g. "cd dir_; make" but is calling "make" using cwd=dir_ as argument in the Popen call. This makes the library Windows compatible.
On the other side, the Makefile and the simple run of Cloudy is using the -p argument of the cloudy.exe program, in place of cloudy.exe < model.in > model.out, to also have Windows compatibility.
As a consequence, this part of the code is not compatible anymore with Cloudy versions that not support the -p option (<= c13). In case you are still using c13 Cloudy, keep the pyCloudy version to 0.9.9, or update Cloudy (which is always a good idea!).
Some minor bug corrections: wrong text in print_stats and wrong format in reading abundances from the output file.

Reply all
Reply to author
Forward
0 new messages