PetThermoTools 0.2.36__tar.gz → 0.2.37__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. {PetThermoTools-0.2.36/src/PetThermoTools.egg-info → PetThermoTools-0.2.37}/PKG-INFO +1 -1
  2. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools/Path.py +9 -2
  3. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools/_version.py +1 -1
  4. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37/src/PetThermoTools.egg-info}/PKG-INFO +1 -1
  5. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/LICENSE.txt +0 -0
  6. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/README.md +0 -0
  7. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/setup.cfg +0 -0
  8. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/setup.py +0 -0
  9. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools/Barom.py +0 -0
  10. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools/Compositions.py +0 -0
  11. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools/GenFuncs.py +0 -0
  12. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools/Holland.py +0 -0
  13. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools/Installation.py +0 -0
  14. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools/Liq.py +0 -0
  15. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools/MELTS.py +0 -0
  16. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools/Melting.py +0 -0
  17. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools/Path_wrappers.py +0 -0
  18. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools/PhaseDiagrams.py +0 -0
  19. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools/Plotting.py +0 -0
  20. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools/Saturation.py +0 -0
  21. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools/__init__.py +0 -0
  22. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools.egg-info/SOURCES.txt +0 -0
  23. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools.egg-info/dependency_links.txt +0 -0
  24. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools.egg-info/requires.txt +0 -0
  25. {PetThermoTools-0.2.36 → PetThermoTools-0.2.37}/src/PetThermoTools.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PetThermoTools
3
- Version: 0.2.36
3
+ Version: 0.2.37
4
4
  Summary: PetThermoTools
5
5
  Home-page: https://github.com/gleesonm1/PetThermoTools
6
6
  Author: Matthew Gleeson
@@ -731,8 +731,15 @@ def path(q, index, *, Model = None, comp = None, Frac_solid = None, Frac_fluid =
731
731
 
732
732
  comp_julia = jl.seval("Dict")(comp)
733
733
  # T_path_C = T_path_C.tolist()
734
- T_path_C_julia = jlconvert(jl.Vector[jl.Float64], T_path_C)
735
- P_path_bar_julia = jlconvert(jl.Vector[jl.Float64], P_path_bar)
734
+ if T_path_C is not None:
735
+ T_path_C_julia = jlconvert(jl.Vector[jl.Float64], T_path_C)
736
+ else:
737
+ T_path_C_julia = T_path_C
738
+
739
+ if P_path_bar is not None:
740
+ P_path_bar_julia = jlconvert(jl.Vector[jl.Float64], P_path_bar)
741
+ else:
742
+ P_path_bar_julia = P_path_bar
736
743
 
737
744
  Results = jl.MAGEMinCalc.path(
738
745
  comp=comp_julia, T_start_C=T_start_C, T_end_C=T_end_C, dt_C=dt_C,
@@ -5,4 +5,4 @@
5
5
  # 1) we don't load dependencies by storing it in __init__.py
6
6
  # 2) we can import it in setup.py for the same reason
7
7
  # 3) we can import it into your module
8
- __version__ = '0.2.36'
8
+ __version__ = '0.2.37'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PetThermoTools
3
- Version: 0.2.36
3
+ Version: 0.2.37
4
4
  Summary: PetThermoTools
5
5
  Home-page: https://github.com/gleesonm1/PetThermoTools
6
6
  Author: Matthew Gleeson