aldepyde 0.0.0a35__py3-none-any.whl → 0.0.0a37__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 aldepyde might be problematic. Click here for more details.

@@ -1,3 +1,5 @@
1
+ import io
2
+
1
3
  from aldepyde.databases._database import local_database
2
4
  import operator
3
5
  from contextlib import nullcontext
@@ -49,9 +51,9 @@ class scop_parser(local_database):
49
51
  logic = scop_parser.op[mode]
50
52
  regex = re.compile(b">[a-zA-Z0-9_.]* *[a-l](.[0-9]+)?(.[0-9]+)?(.[0-9]+)?")
51
53
  if append:
52
- file_context = open(destination, 'ab') if destination is not None else nullcontext()
54
+ file_context = open(destination, 'ab') if destination is not None else nullcontext(io.BytesIO())
53
55
  else:
54
- file_context = open(destination, 'wb') if destination is not None else nullcontext()
56
+ file_context = open(destination, 'wb') if destination is not None else nullcontext(io.BytesIO())
55
57
  with file_context as fp:
56
58
  ret_dict = dict()
57
59
  for line in self.extract_all_astral():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aldepyde
3
- Version: 0.0.0a35
3
+ Version: 0.0.0a37
4
4
  Summary: A package of chemistry and biochemical tools
5
5
  Author-email: Nate McMurray <nate.mcmurray13@gmail.com>
6
6
  License: MIT License
@@ -24,7 +24,7 @@ aldepyde/data/RemoteFileHandler.py,sha256=aPASdoYgt0xnRrSYiwMcefQAizLIbB93SKVrlf
24
24
  aldepyde/data/__init__.py,sha256=_yKL38EKhXkRM8PSafeee0A6VXGncAoUXVdUyiJ5n3s,48
25
25
  aldepyde/databases/PDB.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
26
  aldepyde/databases/RemoteFileHandler.py,sha256=HHx69o6IpI60lf_7hY1ZwI8k0OVyfofG4x1bFeF1uL4,1231
27
- aldepyde/databases/SCOPe_Astral.py,sha256=zj34CbMSTmTa-KBowND-S9rxNGGFnr84OuxC_fumM6E,2821
27
+ aldepyde/databases/SCOPe_Astral.py,sha256=nIG-xlq4mV7CdgVT1pfs3dQubZ5zJc-C4zwpcmiir_o,2858
28
28
  aldepyde/databases/UniRef.py,sha256=lAT5XVO9Rk4_9XDKs5Nr1aGBbkaQ6m-vM0yufym43aY,6004
29
29
  aldepyde/databases/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
30
  aldepyde/databases/_database.py,sha256=fvm4jaP9UKHDeS-0wwWyp7i4uo9PjCGDbwJgdkD8MLo,1822
@@ -37,8 +37,8 @@ aldepyde/rand/RandomProtein.py,sha256=sNXx4jop9Fplz2oz4g6pEArF69j31_PvtiZuRpLz51
37
37
  aldepyde/rand/__init__.py,sha256=Q30wrG_XHrmdgaXaLWSlce_ZGT_ZpOT3CYLDj6OgEy0,182
38
38
  aldepyde/stats/ProteinStats.py,sha256=t_gqhld2wKweszPZvtHhrORadFc28glFx5OgJs23TsM,2569
39
39
  aldepyde/stats/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
40
- aldepyde-0.0.0a35.dist-info/licenses/LICENSE,sha256=VbOVaNlEaWa9cnYi8gOnenCBAVk9s_P3J_z-n_F-638,1091
41
- aldepyde-0.0.0a35.dist-info/METADATA,sha256=NdHCpQYVP7NbBRxOmUXvu5ZlsD94jVS_z6ABY_Ejees,2554
42
- aldepyde-0.0.0a35.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
43
- aldepyde-0.0.0a35.dist-info/top_level.txt,sha256=xv0YJ1izG4AP9ZlielN_0z9QGQQdwtHFM3-TmJivBOM,9
44
- aldepyde-0.0.0a35.dist-info/RECORD,,
40
+ aldepyde-0.0.0a37.dist-info/licenses/LICENSE,sha256=VbOVaNlEaWa9cnYi8gOnenCBAVk9s_P3J_z-n_F-638,1091
41
+ aldepyde-0.0.0a37.dist-info/METADATA,sha256=lCfhWvfqNDz3Qj67u7WgGKS-gjwVJufxfiPtMd5Wo0A,2554
42
+ aldepyde-0.0.0a37.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
43
+ aldepyde-0.0.0a37.dist-info/top_level.txt,sha256=xv0YJ1izG4AP9ZlielN_0z9QGQQdwtHFM3-TmJivBOM,9
44
+ aldepyde-0.0.0a37.dist-info/RECORD,,