olca 0.2.85__py3-none-any.whl → 0.2.87__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.
- olca/oiv.py +4 -0
- {olca-0.2.85.dist-info → olca-0.2.87.dist-info}/METADATA +1 -1
- {olca-0.2.85.dist-info → olca-0.2.87.dist-info}/RECORD +7 -7
- {olca-0.2.85.dist-info → olca-0.2.87.dist-info}/WHEEL +1 -1
- {olca-0.2.85.dist-info → olca-0.2.87.dist-info}/LICENSE +0 -0
- {olca-0.2.85.dist-info → olca-0.2.87.dist-info}/entry_points.txt +0 -0
- {olca-0.2.85.dist-info → olca-0.2.87.dist-info}/top_level.txt +0 -0
olca/oiv.py
CHANGED
@@ -11,6 +11,7 @@ import os
|
|
11
11
|
import json
|
12
12
|
import tlid
|
13
13
|
import warnings
|
14
|
+
import re
|
14
15
|
|
15
16
|
warnings.filterwarnings("ignore", message="The function `loads` is in beta. It is actively being worked on, so the API may change.")
|
16
17
|
DEBUG_MODE=False
|
@@ -139,6 +140,9 @@ def parse_cli_arguments():
|
|
139
140
|
parser.add_argument('-P','-p','--prefix', type=str,
|
140
141
|
help='a file prefix for output',default="arxiv-")
|
141
142
|
args = parser.parse_args()
|
143
|
+
# Clean up prefix: replace spaces with "_" then remove special characters
|
144
|
+
args.prefix = re.sub(r'\s+', '_', args.prefix)
|
145
|
+
args.prefix = re.sub(r'[^0-9a-zA-Z_]', '', args.prefix)
|
142
146
|
return args
|
143
147
|
|
144
148
|
if __name__ == "__main__":
|
@@ -1,15 +1,15 @@
|
|
1
1
|
olca/__init__.py,sha256=3QyLLAys_KiiDIe-cfO_7QyY7di_qCaCS-sVziW2BOw,23
|
2
2
|
olca/fusewill_cli.py,sha256=AJZ-s23F5IMtukob9Hh4yMUG8mc_WbN38W9U-L7h7aM,18650
|
3
3
|
olca/fusewill_utils.py,sha256=Ic4W4_iOI6e741RvOFURW47P8RKMwpoKQwU2cjwjYUg,19192
|
4
|
-
olca/oiv.py,sha256=
|
4
|
+
olca/oiv.py,sha256=zbO49v4vf1McSiBsF3021rIY8Z3_UkZDbc-3F1Td0ag,4791
|
5
5
|
olca/olcacli.py,sha256=wwn4mL1kGonigI9w6UEsnFJDWQ6yONxqvogjrCj-Og4,11246
|
6
6
|
olca/olcahelper.py,sha256=v16ETPboJFdJdkL1iAJ86_oAhkFo5jMFfx5oivOG8kA,4115
|
7
7
|
olca/prompts.py,sha256=q7lvDZ8n_K6ea2nu3K5R2fgBgQYrCIEjh0cA9fUlMFI,3697
|
8
8
|
olca/tracing.py,sha256=cEfPNZoI-PbMHFpX8bvY7OajeW4yvZBMycqwj6sRpDE,1637
|
9
9
|
olca/utils.py,sha256=kDxKwD51234OvA6PIW9IfAND8DHwd8lSyOvSf4abvPE,916
|
10
|
-
olca-0.2.
|
11
|
-
olca-0.2.
|
12
|
-
olca-0.2.
|
13
|
-
olca-0.2.
|
14
|
-
olca-0.2.
|
15
|
-
olca-0.2.
|
10
|
+
olca-0.2.87.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
11
|
+
olca-0.2.87.dist-info/METADATA,sha256=0HUKFpA9_oEDzUIJSu33nwY5eDUxnAUNLDSn2OWGLY0,26000
|
12
|
+
olca-0.2.87.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
13
|
+
olca-0.2.87.dist-info/entry_points.txt,sha256=W2UkinpMZYsCLH54must9ahwbzCRl-rekcZ7rL5u3wA,123
|
14
|
+
olca-0.2.87.dist-info/top_level.txt,sha256=bGDtAReS-xlS0F6MM-DyD0IQUqjNdWmgemnM3vNtrpI,5
|
15
|
+
olca-0.2.87.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|