midas-civil 0.1.7__py3-none-any.whl → 0.1.8__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.

Potentially problematic release.


This version of midas-civil might be problematic. Click here for more details.

midas_civil/_mapi.py CHANGED
@@ -18,13 +18,13 @@ class MAPI_COUNTRY:
18
18
  def __init__(self,country:str):
19
19
  ''' Define Civil NX country to automatically set Base URL and MAPI Key from registry.
20
20
  ```
21
- MAPI_COUNTRY('US')
22
- MAPI_COUNTRY('CN')
23
-
21
+ MAPI_COUNTRY('US') # For english version
22
+ MAPI_COUNTRY('KR') # For Korean version
23
+ MAPI_COUNTRY('CN') # For Chinese version
24
24
  ```
25
25
  '''
26
- if country.lower() == 'cn':
27
- MAPI_COUNTRY.country = 'CN'
26
+ if country.lower() in ['us','cn','kr','jp']:
27
+ MAPI_COUNTRY.country = country.upper()
28
28
  else:
29
29
  MAPI_COUNTRY.country = 'US'
30
30
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: midas_civil
3
- Version: 0.1.7
3
+ Version: 0.1.8
4
4
  Summary: Python library for MIDAS Civil NX
5
5
  Author: Sumit Shekhar
6
6
  Author-email: sumit.midasit@gmail.com
@@ -5,7 +5,7 @@ midas_civil/_construction_backup.py,sha256=Pj7V-NYCkkT-aMjKXfs1jKa9klsGh48UXDLwn
5
5
  midas_civil/_element.py,sha256=4IjJSlsXMr2llv7gC66KBxPoikt9rWbwGBePMaH9gYg,26935
6
6
  midas_civil/_group.py,sha256=9EsPGW8lWpzJBW25Gfd-G5S_9oP8ER3zNzeqknDsfmw,11480
7
7
  midas_civil/_load.py,sha256=kPDcgyd-D_HD59ABQuYmry92ruCovdYos65g06wMq84,30360
8
- midas_civil/_mapi.py,sha256=8ySOgle7bQT6GF-4AHEEopq7OAf-rA1SgmkMiVFdMF0,4478
8
+ midas_civil/_mapi.py,sha256=Fabn3QX6OHJeV_s_01KMvOwkSye0kfgpiUUgPplAzxA,4597
9
9
  midas_civil/_material.py,sha256=uJEIHJM9OhwTRWUI2mtd_0BQSxdlYhATYJu9P7tNNBA,69511
10
10
  midas_civil/_model.py,sha256=G5Kh7u2DSodvKGQ0fOzAUx4Ilj8-rn-nGDTFeI6AkUU,16442
11
11
  midas_civil/_movingload.py,sha256=_XgERsk5tkTx4u1vhe23kdz0xNr41X2tRaiyNaFNt84,79999
@@ -20,8 +20,8 @@ midas_civil/_tendon.py,sha256=qfkcRAZ8MKe36xCec4Nr5TQ17_zDCk2TMW4T5lc85e0,33308
20
20
  midas_civil/_thickness.py,sha256=4xQsLA3Q_gIGCwLc_glFmiErdWdQUSwhlEhJ_IPJseA,3248
21
21
  midas_civil/_utils.py,sha256=eymiqO8KaTKdhVY3saebqNS0BbUUmGmgw3-ELKqew0A,2611
22
22
  midas_civil/_view.py,sha256=o7rkfoQzmgAb3dT0ujPIQLVwVlveo3rMRIbZU1UosZo,849
23
- midas_civil-0.1.7.dist-info/licenses/LICENSE,sha256=zrL4RwZC4rb-by_ZHKXwKdIwcs6ATy59TPZ9HxPHCrs,1071
24
- midas_civil-0.1.7.dist-info/METADATA,sha256=Xiw3pfQBv6eGHxaOb-vlvCNzd1tDoW0Ak8qfZYYX8kI,1709
25
- midas_civil-0.1.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
26
- midas_civil-0.1.7.dist-info/top_level.txt,sha256=_NFmrlN5V9OxJ-PAO4s_om8OA8uupXho3QqZcSsnbuI,12
27
- midas_civil-0.1.7.dist-info/RECORD,,
23
+ midas_civil-0.1.8.dist-info/licenses/LICENSE,sha256=zrL4RwZC4rb-by_ZHKXwKdIwcs6ATy59TPZ9HxPHCrs,1071
24
+ midas_civil-0.1.8.dist-info/METADATA,sha256=5HVJZD3_IiGB-ZvpZLUXJ3-lpnEHxZ-u9rvwgH7zD7E,1709
25
+ midas_civil-0.1.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
26
+ midas_civil-0.1.8.dist-info/top_level.txt,sha256=_NFmrlN5V9OxJ-PAO4s_om8OA8uupXho3QqZcSsnbuI,12
27
+ midas_civil-0.1.8.dist-info/RECORD,,