Ian Bell
c0406b878d
Kill manylinux slaves for sure
2018-03-11 19:08:41 -06:00
Ian Bell
04d9360b3d
Fix StateContainer print in py36; closes #1406
2018-03-11 13:46:41 -06:00
Ian Bell
79f8b3f777
Dont remove container
2018-03-10 20:21:31 -07:00
Ian Bell
0084bba3f0
Try to not run the ls
2018-03-10 19:50:30 -07:00
Ian Bell
ea75360dc2
version 1.5.2 of the manylinux container should give us python 3.6 builds now. See 90c0fca14e
2018-03-10 19:32:59 -07:00
Ian Bell
517ddd862f
Back to 1.5.0 tag
2018-03-10 16:12:08 -07:00
Ian Bell
adb8519ae4
Why is python 3.6 build not happening?
2018-03-10 16:01:01 -07:00
Ian Bell
aaea205704
No more need to kill the image?
2018-03-10 14:44:36 -07:00
Ian Bell
c4ec292a9d
Try some more aggressive options to stop the manylinux container
2018-03-10 14:40:21 -07:00
Ian Bell
a3c2d4432f
Also show which containers are running
2018-03-10 14:24:27 -07:00
Ian Bell
0dd0c5ceb4
Switch to latest version of manylinux builder - adds python 3.6 support?
2018-03-10 14:21:30 -07:00
Ian Bell
ff95fd5725
If manylinux is hanging, stop it first
2018-03-10 14:11:05 -07:00
xaumex
3387c1006e
Mistake in function 'inline_label' in CoolProp/Plots/Common.py ( #1656 )
2018-02-27 22:19:45 -07:00
Ian Bell
194ab07072
Fix cimport paths for python 3.x; closes #1649
2018-02-23 20:41:33 -07:00
notmyrealhandle
6a57dc70f2
fix inconsistent function declarations between AbstractState.pyx and AbstractState.pxd ( #1638 ) ( #1640 )
2018-01-30 22:14:14 -07:00
Ian Bell
fdd5de66ac
Skip some of the Props calls and go right to the AbstractState
2017-12-19 08:05:41 -07:00
Jorrit Wronski
cc180db2f9
Use docker cp instead of volumes to fix uid issues, more a hack than a fix.
2017-12-19 09:20:43 +01:00
Ian Bell
357a92aae3
Fix some unicode string handling issues
2017-12-16 17:07:25 -07:00
Matthis Thorade
19a4875879
More autopep8 ( #1621 )
...
* autopep8 rule-groups E101,W1,W2,W3
* autopep8 with rule group E3 (blank lines)
autopep8 --in-place --recursive --max-line-length=200 --exclude="externals" --select="E101,E3,W1,W2,W3" .
* tabs and space W191
* autopep8 aggressive
2017-12-13 14:43:41 +01:00
Matthis Thorade
526cb198a4
autopep8 whitespace ( #1613 )
...
* autopep8 whitespace only:
--select="E101,W1,W2"
* revert single file: web2py_online.py
Should this be a .py file at all?
* revert file Tickets/1443.py because the diff looked strange:
maybe there is an encoding problem?
* Rename web2py_online.py to web2py_online.rst
2017-12-12 08:32:38 -07:00
Ian Bell
62fda6f174
Add ability to specify the departure functions as JSON
2017-11-15 00:16:25 -07:00
Jeff Henning
d59c18728b
Added Python wrapper CMake generator for vc14 for when default is higher ( #1591 )
2017-11-10 21:42:06 -05:00
Howard Cheung
3e1978be98
Change for compiler directive name in Cython 0.26 ( #1527 )
...
Cython 0.26 changes its compiler directive name from `embed_signature` to `embedsignature`. Hence an if-statement is added to facilitate compilation of Python wrappers using the new compiler directive name when Cython 0.26 is used. `_profiling_enabled` variable is also handled slightly more elegant.
2017-07-25 10:37:20 +02:00
Jorrit Wronski
6924b8d6b7
Added the new docker image for manylinux wheels
2017-03-10 21:55:30 +01:00
Jorrit Wronski
7a1ee42b27
More testing of the plotting functions
2017-03-10 13:48:29 +01:00
Jorrit Wronski
22f6a3b81d
This seems to be the most sane handling of the guess values
2017-03-10 12:14:02 +01:00
Jorrit Wronski
686ca2ec00
The guesses do not help much here, unfortunately
2017-03-10 11:29:09 +01:00
Jorrit Wronski
3a33e0a048
An optimistic approach towards using the guess values
2017-03-10 11:19:41 +01:00
Jorrit Wronski
5b198f2e9e
Added more hacks to handle the critical point
2017-03-10 09:49:04 +01:00
Jorrit Wronski
bf73e006c0
Added the guesses to the line tracer
2017-03-10 09:29:18 +01:00
Ian Bell
3471e910d0
Expose get_fluid_constant to AbstractState and to python; closes #1394
2017-01-18 19:31:56 -07:00
Ian Bell
85e8be705c
Implement set_binary_interaction_string for REFPROP backend to allow for setting departure function ( #1358 )
2016-11-29 17:58:14 -05:00
Jorrit Wronski
0dac175dae
one more update of the manylinux builders to handle #1324
2016-11-18 16:57:23 +01:00
Jorrit Wronski
3905f380e0
Moved the MSVC handling to functions and changed the default for static libraries to dynamic linking, see #1316
2016-11-08 11:01:01 +01:00
Ian Bell
71dc450e10
Fix python windows builds; closes #1319
2016-11-06 12:38:52 -07:00
Ian Bell
b7aa899f1a
Fix that get_config_string and get_config_double returns nothing in python; closes #1307
2016-10-31 20:23:54 -06:00
Ian Bell
4895d593f2
Fix spinodal functions
2016-10-23 22:08:06 -06:00
Ian Bell
42e74fab5d
Remove void in build_spinodal definition
2016-10-23 20:42:34 -06:00
Ian Bell
365bcb7e18
Update pybind11 wrapper code and build files
2016-10-22 17:22:17 -06:00
Ian Bell
49c6932fda
Add preprocessor macro around pybind11 module instantiation to protect it
2016-10-21 18:51:42 -06:00
Ian Bell
94242e224b
Add a pybind11 wrapper interface file for low-level interface
2016-10-21 18:46:59 -06:00
Ian Bell
7893a7f7d9
Make spinodal accessible to python
...
See plot:
```
import CoolProp, numpy as np, matplotlib.pyplot as plt
CP = CoolProp.CoolProp
AS = CP.AbstractState('HEOS','Methane&Ethane')
AS.set_mole_fractions([0.5,0.5])
# The spinodal
AS.build_spinodal()
sp = AS.get_spinodal_data()
plt.plot(sp.tau, sp.delta, label='spinodal')
# The phase envelope
AS.build_phase_envelope("none")
pe = AS.get_phase_envelope_data()
plt.plot(AS.T_reducing()/np.array(pe.T), np.array(pe.rhomolar_vap)/AS.rhomolar_reducing(), label='phase envelope')
plt.show()
```
2016-10-13 20:48:10 -06:00
Jorrit Wronski
3a72d8cf02
Might have fixed the CMake issues in #1247
2016-09-30 00:16:48 +02:00
Ian Bell
5fc1d9f51a
Add the ability to set limits in Consistency plots ( #1234 )
2016-09-16 10:14:30 -06:00
Ian Bell
9a9e7ecc54
Fix path to which cppformat is copied
2016-08-30 18:38:55 -06:00
Ian Bell
1d64b31fa0
Update setup.py for new location of cppformat
2016-08-28 00:51:02 -06:00
Ian Bell
f6b8467249
A few improvements to consistency plots
2016-08-23 22:54:44 -06:00
Ian Bell
47bd64343a
Add some more debugging to consistency plots, disable psuedo-pure in two-phase region
2016-08-23 22:32:18 -06:00
Ian Bell
ee040062c7
Add 4th order alphar derivatives to python; closes #1184
2016-08-11 21:42:47 -06:00
Ian Bell
2c598fe33a
Add mole fractions to phase envelopes in python and C++; closes #1164
2016-08-10 19:54:20 -06:00