yu-mcal 0.3.0__py3-none-any.whl → 0.3.1__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.
mcal/mcal.py CHANGED
@@ -147,7 +147,7 @@ def main():
147
147
  cif_path_without_ext = f'{directory}/{filename}'
148
148
 
149
149
  print('----------------------------------------')
150
- print(' mcal 0.3.0 (2026/01/29) by Matsui Lab. ')
150
+ print(' mcal 0.3.1 (2026/02/05) by Matsui Lab. ')
151
151
  print('----------------------------------------')
152
152
 
153
153
  if args.read_pickle:
mcal/utils/cif_reader.py CHANGED
@@ -1,4 +1,4 @@
1
- """CifReader beta (2026/01/29)"""
1
+ """CifReader beta (2026/02/05)"""
2
2
  import os
3
3
  import re
4
4
  import warnings
@@ -220,9 +220,9 @@ class CifReader:
220
220
  for atom_idx in self.bonded_atoms:
221
221
  for i, c in enumerate(self.calc_cen_of_weight(self.sym_coords[atom_idx])):
222
222
  if 1 <= c:
223
- change = -int(c)
223
+ change = -np.floor(c)
224
224
  elif c < 0:
225
- change = abs(int(c)) + 1
225
+ change = np.ceil(np.abs(c))
226
226
  else:
227
227
  change = 0
228
228
  self.sym_coords[atom_idx, i] += change
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yu-mcal
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Program for the calculation of mobility tensor for organic semiconductor crystals
5
5
  Author: Koki Ozawa
6
6
  Author-email: Hiroyuki Matsui <h-matsui@yz.yamagata-u.ac.jp>
@@ -1,15 +1,15 @@
1
1
  mcal/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
2
- mcal/mcal.py,sha256=GsYv75wVd-bqae5hF6JJiMExiz8lfYhnOF5v9rivaug,32563
2
+ mcal/mcal.py,sha256=L2t1TSgCWIUQS6MMWCF4LCbxwkqcOvQtyUvJx8biaMI,32563
3
3
  mcal/calculations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  mcal/calculations/hopping_mobility_model.py,sha256=OdeMwWKcl3Xt_86cl_jPi3D-ecIXNicAqPcLZYu3gAs,13192
5
5
  mcal/calculations/rcal.py,sha256=CH3iV18KTM8xU7M7zKR3e1m67GbJLH8zi0j50TsUXLE,13500
6
6
  mcal/constants/element_properties.csv,sha256=_Yanl713VZQaAqPYoLNn-hXDdg01ZfkYsCLQ1SQSX8w,4073
7
7
  mcal/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- mcal/utils/cif_reader.py,sha256=QAV6xXMd3nfKLpJqBncA6fbGJ5kgYKDeKIx-sK_4P_M,24532
8
+ mcal/utils/cif_reader.py,sha256=v9Y7RRqvHrJ11vFs_cwEC9c9zddI3gpK929wDje2Q4E,24540
9
9
  mcal/utils/gaus_log_reader.py,sha256=nNIgBae9hRUgpmNF7eIC5LOENSo6NQmuckMM4A3HAa8,3159
10
10
  mcal/utils/gjf_maker.py,sha256=Kkh_gNcifFfhTikZar6SzoNJ7AyEBiCBXJTQkHxHX-0,8193
11
- yu_mcal-0.3.0.dist-info/METADATA,sha256=2t6L0CjNuLOT52piE-j2ZWYCGK5x6vP7Q7SoRveWV-k,7818
12
- yu_mcal-0.3.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
13
- yu_mcal-0.3.0.dist-info/entry_points.txt,sha256=_0xZR3t9qvFSd9L6Iot03NixVLxXioEY19L6w3Fs1Ew,40
14
- yu_mcal-0.3.0.dist-info/licenses/LICENSE,sha256=JP8vm7gYE73jLgnMFTOLNo_RnH88RrB4Goyh7H_muto,1072
15
- yu_mcal-0.3.0.dist-info/RECORD,,
11
+ yu_mcal-0.3.1.dist-info/METADATA,sha256=XJZ_joNdQ-aAuqZJeqb6DeexGe09kBahZ_FqO7UwKzE,7818
12
+ yu_mcal-0.3.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
13
+ yu_mcal-0.3.1.dist-info/entry_points.txt,sha256=_0xZR3t9qvFSd9L6Iot03NixVLxXioEY19L6w3Fs1Ew,40
14
+ yu_mcal-0.3.1.dist-info/licenses/LICENSE,sha256=JP8vm7gYE73jLgnMFTOLNo_RnH88RrB4Goyh7H_muto,1072
15
+ yu_mcal-0.3.1.dist-info/RECORD,,