Skip to content

Commit 4e5149a

Browse files
committed
.
1 parent 993966e commit 4e5149a

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

dev/pyinstaller/pyinstaller_basic_standalone_check.spec

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@ try:
1616
import chemicals
1717
chemicals_path = os.path.dirname(chemicals.__file__)
1818
chemicals_data_dirs = ["Critical Properties", "Density", "Electrolytes", "Environment",
19-
"Heat Capacity", "Identifiers", "Law", "Misc", "Phase Change",
20-
"Reactions", "Safety", "Solubility", "Interface", "Triple Properties",
19+
"Heat Capacity", "Identifiers", "Interface", "Law", "Misc",
20+
"Phase Change", "Reactions", "Safety", "Triple Properties",
2121
"Thermal Conductivity", "Vapor Pressure", "Viscosity"]
2222

2323
for data_dir in chemicals_data_dirs:
2424
dir_path = os.path.join(chemicals_path, data_dir)
25-
if os.path.exists(dir_path):
26-
datas.append((dir_path, os.path.join('chemicals', data_dir)))
25+
datas.append((dir_path, os.path.join('chemicals', data_dir)))
2726
except ImportError:
2827
print("Warning: chemicals package not found, data files may be missing")
2928

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
The only bit included right now are the plots, which should run without an
3030
error; no contents checking is performed.
3131
"""
32-
plots_folder = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'docs', 'plots')
32+
plots_folder = os.path.join(os.path.dirname(__file__), 'plots')
3333
plot_files = [i for i in os.listdir(plots_folder) if i.endswith('.py')]
3434
print(plot_files)
3535

0 commit comments

Comments
 (0)