table-step 2023.11.10__py2.py3-none-any.whl → 2025.6.1__py2.py3-none-any.whl
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.
- table_step/_version.py +3 -3
- table_step/table.py +13 -6
- table_step/table_parameters.py +1 -2
- {table_step-2023.11.10.dist-info → table_step-2025.6.1.dist-info}/METADATA +20 -3
- table_step-2025.6.1.dist-info/RECORD +14 -0
- {table_step-2023.11.10.dist-info → table_step-2025.6.1.dist-info}/WHEEL +1 -1
- table_step-2023.11.10.dist-info/RECORD +0 -14
- {table_step-2023.11.10.dist-info → table_step-2025.6.1.dist-info}/entry_points.txt +0 -0
- {table_step-2023.11.10.dist-info → table_step-2025.6.1.dist-info/licenses}/AUTHORS.rst +0 -0
- {table_step-2023.11.10.dist-info → table_step-2025.6.1.dist-info/licenses}/LICENSE +0 -0
- {table_step-2023.11.10.dist-info → table_step-2025.6.1.dist-info}/top_level.txt +0 -0
- {table_step-2023.11.10.dist-info → table_step-2025.6.1.dist-info}/zip-safe +0 -0
table_step/_version.py
CHANGED
@@ -8,11 +8,11 @@ import json
|
|
8
8
|
|
9
9
|
version_json = '''
|
10
10
|
{
|
11
|
-
"date": "
|
11
|
+
"date": "2025-06-01T13:14:03-0400",
|
12
12
|
"dirty": false,
|
13
13
|
"error": null,
|
14
|
-
"full-revisionid": "
|
15
|
-
"version": "
|
14
|
+
"full-revisionid": "d680570162e73b58623be1fffda786746e73f75e",
|
15
|
+
"version": "2025.6.1"
|
16
16
|
}
|
17
17
|
''' # END VERSION_JSON
|
18
18
|
|
table_step/table.py
CHANGED
@@ -3,8 +3,7 @@
|
|
3
3
|
"""Non-graphical part of the Table step in SEAMM"""
|
4
4
|
|
5
5
|
import logging
|
6
|
-
import
|
7
|
-
from pathlib import PurePath
|
6
|
+
from pathlib import Path, PurePath
|
8
7
|
|
9
8
|
import numpy as np
|
10
9
|
import pandas
|
@@ -208,6 +207,9 @@ class Table(seamm.Node):
|
|
208
207
|
)
|
209
208
|
tablename = P["table name"]
|
210
209
|
|
210
|
+
# Pathnames are relative to current working directory
|
211
|
+
wd = Path(self.directory).parent
|
212
|
+
|
211
213
|
# Print out header to the main output
|
212
214
|
printer.important(self.description_text(P))
|
213
215
|
printer.important("")
|
@@ -330,16 +332,21 @@ class Table(seamm.Node):
|
|
330
332
|
file_type = P["file type"]
|
331
333
|
table_handle = self.get_variable(tablename)
|
332
334
|
table = table_handle["table"]
|
335
|
+
|
333
336
|
if P["method"] == "Save as":
|
334
|
-
filename = P["filename"]
|
337
|
+
filename = P["filename"].strip()
|
338
|
+
if filename.startswith("/"):
|
339
|
+
filename = str(
|
340
|
+
Path(self.flowchart.root_directory) / filename[1:]
|
341
|
+
)
|
342
|
+
else:
|
343
|
+
filename = str(wd / filename)
|
335
344
|
table_handle["filename"] = filename
|
336
345
|
else:
|
337
346
|
if "filename" not in table_handle:
|
338
347
|
if file_type == "from extension":
|
339
348
|
file_type = ".csv"
|
340
|
-
table_handle["filename"] =
|
341
|
-
self.flowchart.root_directory, tablename + file_type
|
342
|
-
)
|
349
|
+
table_handle["filename"] = str(wd / tablename) + file_type
|
343
350
|
filename = table_handle["filename"]
|
344
351
|
|
345
352
|
index = table_handle["index column"]
|
table_step/table_parameters.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
2
|
-
Name:
|
3
|
-
Version:
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: table_step
|
3
|
+
Version: 2025.6.1
|
4
4
|
Summary: A SEAMM plug-in for data tables in a flowchart.
|
5
5
|
Home-page: https://github.com/molssi-seamm/table_step
|
6
6
|
Author: Paul Saxe
|
@@ -28,6 +28,18 @@ Requires-Dist: openpyxl
|
|
28
28
|
Requires-Dist: pandas
|
29
29
|
Requires-Dist: seamm
|
30
30
|
Requires-Dist: tabulate
|
31
|
+
Dynamic: author
|
32
|
+
Dynamic: author-email
|
33
|
+
Dynamic: classifier
|
34
|
+
Dynamic: description
|
35
|
+
Dynamic: description-content-type
|
36
|
+
Dynamic: home-page
|
37
|
+
Dynamic: keywords
|
38
|
+
Dynamic: license
|
39
|
+
Dynamic: license-file
|
40
|
+
Dynamic: platform
|
41
|
+
Dynamic: requires-dist
|
42
|
+
Dynamic: summary
|
31
43
|
|
32
44
|
===================
|
33
45
|
SEAMM Table Plug-in
|
@@ -95,6 +107,11 @@ award OAC-1547580 and CHE-2136142.
|
|
95
107
|
=======
|
96
108
|
History
|
97
109
|
=======
|
110
|
+
2025.6.1 -- Enhancement to allow paths with directories.
|
111
|
+
* As in reading/writing structures, paths beginning with '/' are relative to the
|
112
|
+
root of the job, and relative paths are relative to the directory where the table
|
113
|
+
step is invoked.
|
114
|
+
|
98
115
|
2023.11.10 -- Bugfix: title of edit dialog was wrong
|
99
116
|
|
100
117
|
2023.10.30 -- Cleaned up output
|
@@ -0,0 +1,14 @@
|
|
1
|
+
table_step/__init__.py,sha256=_Z63AqFMXm4UDCzjsmcxHDx001UUR0tK_UYDVukA4J4,659
|
2
|
+
table_step/_version.py,sha256=NJQmn1jylJz-GCHK8CUkoZVIgB9_fyX6Zu8vqjYoESc,500
|
3
|
+
table_step/table.py,sha256=mQ9sLywjyqVjaj9sdtKr4_j_ex89EZclY3arHi_rRXg,24438
|
4
|
+
table_step/table_parameters.py,sha256=EkmOG34-Yv382FvQfbajyyRwsVCl5b9W24zZ43jxakI,4332
|
5
|
+
table_step/table_step.py,sha256=uNtRYFDTBuJNNMys2GUxHebuuqBSFIZBeHkeMLssQk8,1632
|
6
|
+
table_step/tk_table.py,sha256=YEdJpjhuoqSWceWv1M14daYElM9qdk0d1XmINifruCQ,13726
|
7
|
+
table_step-2025.6.1.dist-info/licenses/AUTHORS.rst,sha256=HKy1QAUcENUPZZIAeLClJTLLQ0m438MWROo7bvLs41Q,126
|
8
|
+
table_step-2025.6.1.dist-info/licenses/LICENSE,sha256=jYV8lYIj_Lo0StOE2Hgkv9HNXhv--ARGPxQELEj4Ilc,1540
|
9
|
+
table_step-2025.6.1.dist-info/METADATA,sha256=yCuOZCuuGPqIf2yiaeivo7BhTFqSO0itqFG7fSH1E3A,5521
|
10
|
+
table_step-2025.6.1.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
11
|
+
table_step-2025.6.1.dist-info/entry_points.txt,sha256=dP41-fWtjMuQPjq5hZzTrJvFBYWg8u8Y3rkCiCQ8YRo,100
|
12
|
+
table_step-2025.6.1.dist-info/top_level.txt,sha256=CVg2iJYSbmKKHGk2HeybSa-Zpruei2br8YROIlQIvT4,11
|
13
|
+
table_step-2025.6.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
14
|
+
table_step-2025.6.1.dist-info/RECORD,,
|
@@ -1,14 +0,0 @@
|
|
1
|
-
table_step/__init__.py,sha256=_Z63AqFMXm4UDCzjsmcxHDx001UUR0tK_UYDVukA4J4,659
|
2
|
-
table_step/_version.py,sha256=gKoWdBrBoIEjipeHYJH_fO_AfHTUhCuSXnL0R-z6IaQ,502
|
3
|
-
table_step/table.py,sha256=kE00swpVrZi7Lscy7-PK9fmu5jeFwcBZqwuyuRsJFoo,24149
|
4
|
-
table_step/table_parameters.py,sha256=r8iz0Dyg-uWKVHTdlIBZZDIGtdZd_OwKF5x0uFEBFOE,4332
|
5
|
-
table_step/table_step.py,sha256=uNtRYFDTBuJNNMys2GUxHebuuqBSFIZBeHkeMLssQk8,1632
|
6
|
-
table_step/tk_table.py,sha256=YEdJpjhuoqSWceWv1M14daYElM9qdk0d1XmINifruCQ,13726
|
7
|
-
table_step-2023.11.10.dist-info/AUTHORS.rst,sha256=HKy1QAUcENUPZZIAeLClJTLLQ0m438MWROo7bvLs41Q,126
|
8
|
-
table_step-2023.11.10.dist-info/LICENSE,sha256=jYV8lYIj_Lo0StOE2Hgkv9HNXhv--ARGPxQELEj4Ilc,1540
|
9
|
-
table_step-2023.11.10.dist-info/METADATA,sha256=jTtjxcErLZlY_193OBvpdFCK-NPSus-rkWbbn53E6G4,5022
|
10
|
-
table_step-2023.11.10.dist-info/WHEEL,sha256=P2T-6epvtXQ2cBOE_U1K4_noqlJFN3tj15djMgEu4NM,110
|
11
|
-
table_step-2023.11.10.dist-info/entry_points.txt,sha256=dP41-fWtjMuQPjq5hZzTrJvFBYWg8u8Y3rkCiCQ8YRo,100
|
12
|
-
table_step-2023.11.10.dist-info/top_level.txt,sha256=CVg2iJYSbmKKHGk2HeybSa-Zpruei2br8YROIlQIvT4,11
|
13
|
-
table_step-2023.11.10.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
14
|
-
table_step-2023.11.10.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|