multixem 0.3.1__tar.gz → 0.3.2__tar.gz

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.
@@ -1,3 +1,4 @@
1
+ include multixem/data/*.json
1
2
  prune dist
2
3
  prune build
3
4
  prune __venv__
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: multixem
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Refinement pipeline for multiple data sets in structure biology
5
5
  Author-email: Martin Maly <martin.maly.mm@email.cz>
6
6
  License: MIT
@@ -3,4 +3,4 @@
3
3
 
4
4
  Refinement pipeline for multiple data sets in structure biology
5
5
  """
6
- __version__ = "0.1"
6
+ __version__ = "0.3.2"
@@ -166,7 +166,11 @@ def floating_origin_detect(st: gemmi.Structure):
166
166
  )
167
167
  with Rrot_sum_eigen_path.open("r", encoding="utf-8") as f:
168
168
  point_group_results = json.load(f)
169
- except FileNotFoundError:
169
+ except (FileNotFoundError, ModuleNotFoundError) as e:
170
+ logging.warning(
171
+ f"Could not load point group results Rrot_sum_eigen.json"
172
+ f" for origin shift analysis: {e}"
173
+ )
170
174
  from multixem.scripts.Rrot_sum_eigen import get_Rrot_sum_eigen
171
175
 
172
176
  point_group_results = get_Rrot_sum_eigen()